Staging
v0.8.1
https://github.com/python/cpython
Revision 919491d9bbad97e7b161d9c8ae11f1000bb170b8 authored by Andrew M. Kuchling on 19 October 2004, 19:34:07 UTC, committed by Andrew M. Kuchling on 19 October 2004, 19:34:07 UTC
1 parent e2f12bb
Raw File
Tip revision: 919491d9bbad97e7b161d9c8ae11f1000bb170b8 authored by Andrew M. Kuchling on 19 October 2004, 19:34:07 UTC
[Bug #1048816] Fix bug when you do Ctrl-K at the start of a line; fix from Stefan Heimann
Tip revision: 919491d
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