many more types to initialize (I had to expose some of them)

This commit is contained in:
Benjamin Peterson 2009-04-18 22:15:26 +00:00
parent accb3d0014
commit 01c6e6fb35
5 changed files with 52 additions and 6 deletions

View file

@ -68,6 +68,9 @@ typedef struct {
} PyWrapperDescrObject;
PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;
PyAPI_DATA(PyTypeObject) PyDictProxy_Type;
PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;
PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;
PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);