]> granicus.if.org Git - python/commitdiff
Use the right types for a couple of fields of the type structure.
authorFred Drake <fdrake@acm.org>
Fri, 29 Mar 2002 22:46:04 +0000 (22:46 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 29 Mar 2002 22:46:04 +0000 (22:46 +0000)
Doc/ext/typestruct.h

index eb7ad00ff443d42283fadb3b4183ce6c57a5de95..85ce049603b047efb11ca7cdd513d902e2a4cd46 100644 (file)
@@ -55,8 +55,8 @@ typedef struct _typeobject {
 
     /* Attribute descriptor and subclassing stuff */
     struct PyMethodDef *tp_methods;
-    struct memberlist *tp_members;
-    struct getsetlist *tp_getset;
+    struct PyMemberDef *tp_members;
+    struct PyGetSetDef *tp_getset;
     struct _typeobject *tp_base;
     PyObject *tp_dict;
     descrgetfunc tp_descr_get;