- Got rid of newmodule.c
[python/dscho.git] / Include / marshal.h
blob722be741229b6283b1d3b4f67bb48dfb4696e28c
2 /* Interface for marshal.c */
4 #ifndef Py_MARSHAL_H
5 #define Py_MARSHAL_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 DL_IMPORT(void) PyMarshal_WriteLongToFile(long, FILE *);
11 DL_IMPORT(void) PyMarshal_WriteShortToFile(int, FILE *);
12 DL_IMPORT(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
13 DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
15 DL_IMPORT(long) PyMarshal_ReadLongFromFile(FILE *);
16 DL_IMPORT(int) PyMarshal_ReadShortFromFile(FILE *);
17 DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
18 DL_IMPORT(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
19 DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int);
21 #ifdef __cplusplus
23 #endif
24 #endif /* !Py_MARSHAL_H */