diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
commit | 91a681debf9ffec155d0aff8a0bb5f965f592e16 (patch) | |
tree | 09f28782e3b0a24e64deddeafc9df24ac93855ca /Include/traceback.h | |
parent | 44121a6bc9828c993932b87e442440dc4f260f3c (diff) | |
download | cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.zip cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.gz cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.bz2 |
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
Diffstat (limited to 'Include/traceback.h')
-rw-r--r-- | Include/traceback.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/traceback.h b/Include/traceback.h index 6879043..659e994 100644 --- a/Include/traceback.h +++ b/Include/traceback.h @@ -9,11 +9,11 @@ extern "C" { struct _frame; -DL_IMPORT(int) PyTraceBack_Here(struct _frame *); -DL_IMPORT(int) PyTraceBack_Print(PyObject *, PyObject *); +PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *); +PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); /* Reveal traceback type so we can typecheck traceback objects */ -extern DL_IMPORT(PyTypeObject) PyTraceBack_Type; +PyAPI_DATA(PyTypeObject) PyTraceBack_Type; #define PyTraceBack_Check(v) ((v)->ob_type == &PyTraceBack_Type) #ifdef __cplusplus |