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/traceback.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/traceback.h')
-rw-r--r-- | Include/traceback.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Include/traceback.h b/Include/traceback.h index 1551d7c..57bdb34 100644 --- a/Include/traceback.h +++ b/Include/traceback.h @@ -39,13 +39,13 @@ PERFORMANCE OF THIS SOFTWARE. struct _frame; -int PyTraceBack_Here Py_PROTO((struct _frame *)); -PyObject *PyTraceBack_Fetch Py_PROTO((void)); -int PyTraceBack_Store Py_PROTO((PyObject *)); -int PyTraceBack_Print Py_PROTO((PyObject *, PyObject *)); +DL_IMPORT(int) PyTraceBack_Here Py_PROTO((struct _frame *)); +DL_IMPORT(PyObject *) PyTraceBack_Fetch Py_PROTO((void)); +DL_IMPORT(int) PyTraceBack_Store Py_PROTO((PyObject *)); +DL_IMPORT(int) PyTraceBack_Print Py_PROTO((PyObject *, PyObject *)); /* Reveale traceback type so we can typecheck traceback objects */ -extern PyTypeObject PyTraceBack_Type; +extern DL_IMPORT(PyTypeObject) PyTraceBack_Type; #define PyTraceBack_Check(v) ((v)->ob_type == &PyTraceBack_Type) #ifdef __cplusplus |