Staging
v0.5.1
https://github.com/python/cpython
Revision 5f76d720928a868033444bdf73cac6f3515c0307 authored by Miss Islington (bot) on 09 September 2020, 23:16:05 UTC, committed by GitHub on 09 September 2020, 23:16:05 UTC
(cherry picked from commit 471247150e9707e583297ac6b4edff978efd8941)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent 41dbd6e
Raw File
Tip revision: 5f76d720928a868033444bdf73cac6f3515c0307 authored by Miss Islington (bot) on 09 September 2020, 23:16:05 UTC
Update idlelib/help.html to current IDLE doc (GH-22181)
Tip revision: 5f76d72
marshal.h

/* Interface for marshal.c */

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

#define Py_MARSHAL_VERSION 4

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

#ifndef Py_LIMITED_API
PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
#endif
PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *,
                                                      Py_ssize_t);

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