2 /* Interface for marshal.c */
10 #define Py_MARSHAL_VERSION 2
12 PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
13 PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject
*, FILE *, int);
14 PyAPI_FUNC(PyObject
*) PyMarshal_WriteObjectToString(PyObject
*, int);
16 PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
17 PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
18 PyAPI_FUNC(PyObject
*) PyMarshal_ReadObjectFromFile(FILE *);
19 PyAPI_FUNC(PyObject
*) PyMarshal_ReadLastObjectFromFile(FILE *);
20 PyAPI_FUNC(PyObject
*) PyMarshal_ReadObjectFromString(char *, Py_ssize_t
);
25 #endif /* !Py_MARSHAL_H */