Staging
v0.8.1
https://github.com/python/cpython
Revision e7c6691796a66a0bb254ee8560639d2297f15bf4 authored by Andrew M. Kuchling on 29 January 2001, 20:13:11 UTC, committed by Andrew M. Kuchling on 29 January 2001, 20:13:11 UTC
1 parent 4308d3c
Raw File
Tip revision: e7c6691796a66a0bb254ee8560639d2297f15bf4 authored by Andrew M. Kuchling on 29 January 2001, 20:13:11 UTC
Add back most of the old contents of Setup.dist, with all the modules
Tip revision: e7c6691
marshal.h

/* Interface for marshal.c */

#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 *);

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

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