home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / marshal.h < prev    next >
C/C++ Source or Header  |  2003-12-30  |  661b  |  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. PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *);
  11. PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
  12. PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
  13.  
  14. PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
  15. PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
  16. PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
  17. PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
  18. PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, int);
  19.  
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif /* !Py_MARSHAL_H */
  24.