home *** CD-ROM | disk | FTP | other *** search
/ Freelog 33 / Freelog033.iso / Progr / Python-2.2.1.exe / MARSHAL.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-27  |  734 b   |  25 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_ReadLastObjectFromFile(FILE *);
  19. DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int);
  20.  
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif /* !Py_MARSHAL_H */
  25.