Staging
v0.5.1
https://github.com/python/cpython
Revision ce1bd6ac7ffaf396157a9ceb55b281a3b196323f authored by Mariatta on 23 June 2017, 02:18:05 UTC, committed by GitHub on 23 June 2017, 02:18:05 UTC
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
1 parent 491afb5
Raw File
Tip revision: ce1bd6ac7ffaf396157a9ceb55b281a3b196323f authored by Mariatta on 23 June 2017, 02:18:05 UTC
[3.5] bpo-30619: Clarify typing.Union documentation (GH-2326) (GH-2338)
Tip revision: ce1bd6a
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