mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Add DL_IMPORT(returntype) for all officially exported functions.
This commit is contained in:
parent
b241b67b89
commit
43466ec7b0
44 changed files with 401 additions and 398 deletions
|
@ -41,10 +41,10 @@ extern DL_IMPORT(PyTypeObject) PyModule_Type;
|
|||
|
||||
#define PyModule_Check(op) ((op)->ob_type == &PyModule_Type)
|
||||
|
||||
extern PyObject *PyModule_New Py_PROTO((char *));
|
||||
extern PyObject *PyModule_GetDict Py_PROTO((PyObject *));
|
||||
extern char *PyModule_GetName Py_PROTO((PyObject *));
|
||||
extern void _PyModule_Clear Py_PROTO((PyObject *));
|
||||
extern DL_IMPORT(PyObject *) PyModule_New Py_PROTO((char *));
|
||||
extern DL_IMPORT(PyObject *) PyModule_GetDict Py_PROTO((PyObject *));
|
||||
extern DL_IMPORT(char *) PyModule_GetName Py_PROTO((PyObject *));
|
||||
extern DL_IMPORT(void) _PyModule_Clear Py_PROTO((PyObject *));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue