home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Software / TemaCD / webclean / !!!python!!! / BeOpen-Python-2.0.exe / MARSHAL.H < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-01  |  669 b   |  24 lines

  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. DL_IMPORT(void) PyMarshal_WriteLongToFile(long, FILE *);
  11. DL_IMPORT(void) PyMarshal_WriteShortToFile(int, FILE *);
  12. DL_IMPORT(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
  13. DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
  14.  
  15. DL_IMPORT(long) PyMarshal_ReadLongFromFile(FILE *);
  16. DL_IMPORT(int) PyMarshal_ReadShortFromFile(FILE *);
  17. DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
  18. DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int);
  19.  
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif /* !Py_MARSHAL_H */
  24.