comparison test/include/python2.7/marshal.h @ 3:7d1a9a91b989 draft

planemo upload for repository https://github.com/Yating-L/jbrowse-archive-creator.git commit d583ac16a6c6942730ea536eb59cc37941816030-dirty
author yating-l
date Thu, 18 May 2017 18:37:28 -0400
parents
children
comparison
equal deleted inserted replaced
2:3e2160197902 3:7d1a9a91b989
1
2 /* Interface for marshal.c */
3
4 #ifndef Py_MARSHAL_H
5 #define Py_MARSHAL_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 #define Py_MARSHAL_VERSION 2
11
12 PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
13 PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);
14 PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int);
15
16 PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
17 PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
18 PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
19 PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
20 PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, Py_ssize_t);
21
22 #ifdef __cplusplus
23 }
24 #endif
25 #endif /* !Py_MARSHAL_H */