Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
allendowney
GitHub Repository: allendowney/cpython
Path: blob/main/Include/internal/pycore_descrobject.h
12 views
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
#ifdef __cplusplus
24
}
25
#endif
26
#endif /* !Py_INTERNAL_DESCROBJECT_H */
27
28