aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-events.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-events.h')
-rw-r--r--gdb/python/py-events.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/python/py-events.h b/gdb/python/py-events.h
index 537bcc9..4ec3832a7 100644
--- a/gdb/python/py-events.h
+++ b/gdb/python/py-events.h
@@ -24,7 +24,8 @@
#include "python-internal.h"
#include "inferior.h"
-extern PyTypeObject thread_event_object_type;
+extern PyTypeObject thread_event_object_type
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("event_object");
/* Stores a list of objects to be notified when the event for which this
registry tracks occurs. */