diff options
Diffstat (limited to 'Include/structmember.h')
-rw-r--r-- | Include/structmember.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/structmember.h b/Include/structmember.h index 98eccc0..69bdc1b 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -81,12 +81,12 @@ typedef struct PyMemberDef { /* Obsolete API, for binary backwards compatibility */ -DL_IMPORT(PyObject *) PyMember_Get(char *, struct memberlist *, char *); -DL_IMPORT(int) PyMember_Set(char *, struct memberlist *, char *, PyObject *); +PyAPI_FUNC(PyObject *) PyMember_Get(char *, struct memberlist *, char *); +PyAPI_FUNC(int) PyMember_Set(char *, struct memberlist *, char *, PyObject *); /* Current API, use this */ -DL_IMPORT(PyObject *) PyMember_GetOne(char *, struct PyMemberDef *); -DL_IMPORT(int) PyMember_SetOne(char *, struct PyMemberDef *, PyObject *); +PyAPI_FUNC(PyObject *) PyMember_GetOne(char *, struct PyMemberDef *); +PyAPI_FUNC(int) PyMember_SetOne(char *, struct PyMemberDef *, PyObject *); #ifdef __cplusplus |