Add support for Python 3.
[deliverable/binutils-gdb.git] / gdb / python / py-frame.c
index 12a54e8cb2d0a420c47bc70b34d33601f5b39b5f..8a31eae4a44b1ea94d2d9852aa4c45e5c410c77a 100644 (file)
@@ -662,8 +662,7 @@ Return the value of the variable in this frame." },
 };
 
 PyTypeObject frame_object_type = {
-  PyObject_HEAD_INIT (NULL)
-  0,                             /* ob_size */
+  PyVarObject_HEAD_INIT (NULL, 0)
   "gdb.Frame",                   /* tp_name */
   sizeof (frame_object),         /* tp_basicsize */
   0,                             /* tp_itemsize */
This page took 0.022849 seconds and 4 git commands to generate.