mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
21 lines
643 B
C
21 lines
643 B
C
#ifndef Py_MARSHAL_H
|
|
#define Py_MARSHAL_H
|
|
#include "third_party/python/Include/object.h"
|
|
COSMOPOLITAN_C_START_
|
|
|
|
#define Py_MARSHAL_VERSION 4
|
|
|
|
void PyMarshal_WriteLongToFile(long, FILE *, int);
|
|
void PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);
|
|
PyObject * PyMarshal_WriteObjectToString(PyObject *, int);
|
|
|
|
#ifndef Py_LIMITED_API
|
|
long PyMarshal_ReadLongFromFile(FILE *);
|
|
int PyMarshal_ReadShortFromFile(FILE *);
|
|
PyObject * PyMarshal_ReadObjectFromFile(FILE *);
|
|
PyObject * PyMarshal_ReadLastObjectFromFile(FILE *);
|
|
#endif
|
|
PyObject * PyMarshal_ReadObjectFromString(const char *, Py_ssize_t);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !Py_MARSHAL_H */
|