Staging
v0.5.1
https://github.com/python/cpython
Revision 5783121eb3e26bfed31763efb0ea3fb7e8ba66d9 authored by Fred Drake on 17 April 2002, 03:26:05 UTC, committed by Fred Drake on 17 April 2002, 03:26:05 UTC
reflect the changes in the user organizations in the Python community.
1 parent 0ddc3b6
Raw File
Tip revision: 5783121eb3e26bfed31763efb0ea3fb7e8ba66d9 authored by Fred Drake on 17 April 2002, 03:26:05 UTC
Update the text of the README distributed with the PostScript files to
Tip revision: 5783121
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