Staging
v0.5.1
https://github.com/python/cpython
Revision a920a8895e3f8919165b7bfd656a07864053f964 authored by Just van Rossum on 18 July 2003, 15:31:40 UTC, committed by Just van Rossum on 18 July 2003, 15:31:40 UTC
1 parent 969a700
Raw File
Tip revision: a920a8895e3f8919165b7bfd656a07864053f964 authored by Just van Rossum on 18 July 2003, 15:31:40 UTC
up the b/w compatibility requirement to 2.2
Tip revision: a920a88
marshal.h

/* Interface for marshal.c */

#ifndef Py_MARSHAL_H
#define Py_MARSHAL_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *);
PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *);

PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, int);

#ifdef __cplusplus
}
#endif
#endif /* !Py_MARSHAL_H */
back to top