diff options
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r-- | gdb/python/py-event.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h index 86da974..970595b 100644 --- a/gdb/python/py-event.h +++ b/gdb/python/py-event.h @@ -46,8 +46,9 @@ #define GDBPY_NEW_EVENT_TYPE(name, py_path, py_name, doc, base, qual) \ \ - qual PyTypeObject name##_event_object_type = \ - { \ + qual PyTypeObject name##_event_object_type \ + CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("event_object") \ + = { \ PyVarObject_HEAD_INIT (NULL, 0) \ py_path, /* tp_name */ \ sizeof (event_object), /* tp_basicsize */ \ |