diff options
Diffstat (limited to 'Include/descrobject.h')
-rw-r--r-- | Include/descrobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/descrobject.h b/Include/descrobject.h index 36802f4..aefa760 100644 --- a/Include/descrobject.h +++ b/Include/descrobject.h @@ -8,13 +8,13 @@ extern "C" { typedef PyObject *(*getter)(PyObject *, void *); typedef int (*setter)(PyObject *, PyObject *, void *); -typedef struct PyGetSetDef { +struct PyGetSetDef { const char *name; getter get; setter set; const char *doc; void *closure; -} PyGetSetDef; +}; PyAPI_DATA(PyTypeObject) PyClassMethodDescr_Type; PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type; |