Staging
v0.5.1
https://github.com/python/cpython
Revision 4d39ade62ac370cf59661a2fa7cd151c76cff087 authored by Miss Islington (bot) on 21 May 2018, 11:47:29 UTC, committed by Andrew Svetlov on 21 May 2018, 11:47:29 UTC
(cherry picked from commit e2537521916c5bf88fcf54d4654ff1bcd332be4a)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
1 parent b8b8000
Raw File
Tip revision: 4d39ade62ac370cf59661a2fa7cd151c76cff087 authored by Miss Islington (bot) on 21 May 2018, 11:47:29 UTC
Fix asyncio flaky tests (GH-7023) (#7024)
Tip revision: 4d39ade
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