diff options
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r-- | gdb/python/py-event.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h index aea1b57..bd81b55 100644 --- a/gdb/python/py-event.h +++ b/gdb/python/py-event.h @@ -48,8 +48,7 @@ \ qual PyTypeObject name##_event_object_type = \ { \ - PyObject_HEAD_INIT (NULL) \ - 0, /* ob_size */ \ + PyVarObject_HEAD_INIT (NULL, 0) \ py_path, /* tp_name */ \ sizeof (event_object), /* tp_basicsize */ \ 0, /* tp_itemsize */ \ |