Bump version to 0.9.1.
[python/dscho.git] / Include / marshal.h
blob98bd5238c56c003ec6ee9d52c6c15386d2d3b942
1 /***********************************************************
2 Copyright (c) 2000, BeOpen.com.
3 Copyright (c) 1995-2000, Corporation for National Research Initiatives.
4 Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
5 All rights reserved.
7 See the file "Misc/COPYRIGHT" for information on usage and
8 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9 ******************************************************************/
11 /* Interface for marshal.c */
13 #ifndef Py_MARSHAL_H
14 #define Py_MARSHAL_H
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 DL_IMPORT(void) PyMarshal_WriteLongToFile(long, FILE *);
20 DL_IMPORT(void) PyMarshal_WriteShortToFile(int, FILE *);
21 DL_IMPORT(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
22 DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
24 DL_IMPORT(long) PyMarshal_ReadLongFromFile(FILE *);
25 DL_IMPORT(int) PyMarshal_ReadShortFromFile(FILE *);
26 DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
27 DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int);
29 #ifdef __cplusplus
31 #endif
32 #endif /* !Py_MARSHAL_H */