#ifndef Py_CPYTHON_DESCROBJECT_H # error "this header file must not be included directly" #endif wrapperfunc; wrapperfunc_kwds; struct wrapperbase { … }; /* Flags for above struct */ #define PyWrapperFlag_KEYWORDS … /* Various kinds of descriptor objects */ PyDescrObject; #define PyDescr_COMMON … #define PyDescr_TYPE(x) … #define PyDescr_NAME(x) … PyMethodDescrObject; PyMemberDescrObject; PyGetSetDescrObject; PyWrapperDescrObject; PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *, struct wrapperbase *, void *); PyAPI_FUNC(int) PyDescr_IsData(PyObject *);