1991-06-04 21:42:30 +02:00
|
|
|
|
|
|
|
/* Interface for marshal.c */
|
|
|
|
|
2000-07-09 01:37:28 +02:00
|
|
|
#ifndef Py_MARSHAL_H
|
|
|
|
#define Py_MARSHAL_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
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 *);
|
1998-12-04 19:48:25 +01:00
|
|
|
|
2000-07-09 01:37:28 +02:00
|
|
|
DL_IMPORT(long) PyMarshal_ReadLongFromFile(FILE *);
|
|
|
|
DL_IMPORT(int) PyMarshal_ReadShortFromFile(FILE *);
|
|
|
|
DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
|
2001-01-28 01:27:39 +01:00
|
|
|
DL_IMPORT(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
|
2000-07-09 01:37:28 +02:00
|
|
|
DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int);
|
1993-07-28 11:05:47 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_MARSHAL_H */
|