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/marshal.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/marshal.h')
-rw-r--r-- | Include/marshal.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Include/marshal.h b/Include/marshal.h index 722be74..cc73f23 100644 --- a/Include/marshal.h +++ b/Include/marshal.h @@ -7,16 +7,16 @@ extern "C" { #endif -DL_IMPORT(void) PyMarshal_WriteLongToFile(long, FILE *); -DL_IMPORT(void) PyMarshal_WriteShortToFile(int, FILE *); -DL_IMPORT(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *); -DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString(PyObject *); +PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *); +PyAPI_FUNC(void) PyMarshal_WriteShortToFile(int, FILE *); +PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *); +PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *); -DL_IMPORT(long) PyMarshal_ReadLongFromFile(FILE *); -DL_IMPORT(int) PyMarshal_ReadShortFromFile(FILE *); -DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); -DL_IMPORT(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); -DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int); +PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *); +PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *); +PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); +PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); +PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, int); #ifdef __cplusplus } |