diff options
author | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 (GMT) |
commit | 43466ec7b07de6bcad016bec60839cd6079c5a9c (patch) | |
tree | ec3bf3e1dfbf9535fa56e153e200f6491f34a6b0 /Include/pystate.h | |
parent | b241b67b8954b0679377af00d668e3dc92f4c858 (diff) | |
download | cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.zip cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.bz2 |
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/pystate.h')
-rw-r--r-- | Include/pystate.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Include/pystate.h b/Include/pystate.h index 7218cc0..8a58a39 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -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 } |