mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -89,17 +89,17 @@ typedef struct _ts {
|
|||
} PyThreadState;
|
||||
|
||||
|
||||
PyInterpreterState *PyInterpreterState_New Py_PROTO((void));
|
||||
void PyInterpreterState_Clear Py_PROTO((PyInterpreterState *));
|
||||
void PyInterpreterState_Delete Py_PROTO((PyInterpreterState *));
|
||||
DL_IMPORT(PyInterpreterState *) PyInterpreterState_New Py_PROTO((void));
|
||||
DL_IMPORT(void) PyInterpreterState_Clear Py_PROTO((PyInterpreterState *));
|
||||
DL_IMPORT(void) PyInterpreterState_Delete Py_PROTO((PyInterpreterState *));
|
||||
|
||||
PyThreadState *PyThreadState_New Py_PROTO((PyInterpreterState *));
|
||||
void PyThreadState_Clear Py_PROTO((PyThreadState *));
|
||||
void PyThreadState_Delete Py_PROTO((PyThreadState *));
|
||||
DL_IMPORT(PyThreadState *) PyThreadState_New Py_PROTO((PyInterpreterState *));
|
||||
DL_IMPORT(void) PyThreadState_Clear Py_PROTO((PyThreadState *));
|
||||
DL_IMPORT(void) PyThreadState_Delete Py_PROTO((PyThreadState *));
|
||||
|
||||
PyThreadState *PyThreadState_Get Py_PROTO((void));
|
||||
PyThreadState *PyThreadState_Swap Py_PROTO((PyThreadState *));
|
||||
PyObject *PyThreadState_GetDict Py_PROTO((void));
|
||||
DL_IMPORT(PyThreadState *) PyThreadState_Get Py_PROTO((void));
|
||||
DL_IMPORT(PyThreadState *) PyThreadState_Swap Py_PROTO((PyThreadState *));
|
||||
DL_IMPORT(PyObject *) PyThreadState_GetDict Py_PROTO((void));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue