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/frameobject.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/frameobject.h')
-rw-r--r-- | Include/frameobject.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Include/frameobject.h b/Include/frameobject.h index 185c286..958b952 100644 --- a/Include/frameobject.h +++ b/Include/frameobject.h @@ -44,11 +44,11 @@ typedef struct _frame { /* Standard object interface */ -extern DL_IMPORT(PyTypeObject) PyFrame_Type; +PyAPI_DATA(PyTypeObject) PyFrame_Type; #define PyFrame_Check(op) ((op)->ob_type == &PyFrame_Type) -DL_IMPORT(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *, +PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *, PyObject *, PyObject *); @@ -56,17 +56,17 @@ DL_IMPORT(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *, /* Block management functions */ -DL_IMPORT(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int); -DL_IMPORT(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *); +PyAPI_FUNC(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int); +PyAPI_FUNC(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *); /* Extend the value stack */ -DL_IMPORT(PyObject **) PyFrame_ExtendStack(PyFrameObject *, int, int); +PyAPI_FUNC(PyObject **) PyFrame_ExtendStack(PyFrameObject *, int, int); /* Conversions between "fast locals" and locals in dictionary */ -DL_IMPORT(void) PyFrame_LocalsToFast(PyFrameObject *, int); -DL_IMPORT(void) PyFrame_FastToLocals(PyFrameObject *); +PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int); +PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *); #ifdef __cplusplus } |