mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Add DL_IMPORT(returntype) for all officially exported functions.
This commit is contained in:
parent
b241b67b89
commit
43466ec7b0
44 changed files with 401 additions and 398 deletions
|
@ -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 *));
|
||||
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 *));
|
||||
|
||||
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(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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue