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/marshal.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/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 eb7eaf6..e388274 100644 --- a/Include/marshal.h +++ b/Include/marshal.h @@ -37,15 +37,15 @@ PERFORMANCE OF THIS SOFTWARE. /* Interface for marshal.c */ -void PyMarshal_WriteLongToFile Py_PROTO((long, FILE *)); -void PyMarshal_WriteShortToFile Py_PROTO((int, FILE *)); -void PyMarshal_WriteObjectToFile Py_PROTO((PyObject *, FILE *)); -PyObject *PyMarshal_WriteObjectToString Py_PROTO((PyObject *)); - -long PyMarshal_ReadLongFromFile Py_PROTO((FILE *)); -int PyMarshal_ReadShortFromFile Py_PROTO((FILE *)); -PyObject *PyMarshal_ReadObjectFromFile Py_PROTO((FILE *)); -PyObject *PyMarshal_ReadObjectFromString Py_PROTO((char *, int)); +DL_IMPORT(void) PyMarshal_WriteLongToFile Py_PROTO((long, FILE *)); +DL_IMPORT(void) PyMarshal_WriteShortToFile Py_PROTO((int, FILE *)); +DL_IMPORT(void) PyMarshal_WriteObjectToFile Py_PROTO((PyObject *, FILE *)); +DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString Py_PROTO((PyObject *)); + +DL_IMPORT(long) PyMarshal_ReadLongFromFile Py_PROTO((FILE *)); +DL_IMPORT(int) PyMarshal_ReadShortFromFile Py_PROTO((FILE *)); +DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile Py_PROTO((FILE *)); +DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString Py_PROTO((char *, int)); #ifdef __cplusplus } |