mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
This commit is contained in:
parent
44121a6bc9
commit
91a681debf
51 changed files with 661 additions and 665 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue