1 #ifndef Py_INTERNAL_DESCROBJECT_H 2 #define Py_INTERNAL_DESCROBJECT_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 #ifndef Py_BUILD_CORE 8 # error "this header requires Py_BUILD_CORE define" 9 #endif 10 11 typedef struct { 12 PyObject_HEAD 13 PyObject *prop_get; 14 PyObject *prop_set; 15 PyObject *prop_del; 16 PyObject *prop_doc; 17 PyObject *prop_name; 18 int getter_doc; 19 } propertyobject; 20 21 typedef propertyobject _PyPropertyObject; 22 23 extern PyTypeObject _PyMethodWrapper_Type; 24 25 #ifdef __cplusplus 26 } 27 #endif 28 #endif /* !Py_INTERNAL_DESCROBJECT_H */ 29