home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Software / TemaCD / activepython / ActivePython-2.1.1.msi / Python21_include_sysmodule.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-26  |  762 b   |  29 lines

  1.  
  2. /* System module interface */
  3.  
  4. #ifndef Py_SYSMODULE_H
  5. #define Py_SYSMODULE_H
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. DL_IMPORT(PyObject *) PySys_GetObject(char *);
  11. DL_IMPORT(int) PySys_SetObject(char *, PyObject *);
  12. DL_IMPORT(FILE *) PySys_GetFile(char *, FILE *);
  13. DL_IMPORT(void) PySys_SetArgv(int, char **);
  14. DL_IMPORT(void) PySys_SetPath(char *);
  15.  
  16. DL_IMPORT(void) PySys_WriteStdout(const char *format, ...);
  17. DL_IMPORT(void) PySys_WriteStderr(const char *format, ...);
  18.  
  19. extern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
  20. extern DL_IMPORT(int) _PySys_CheckInterval;
  21.  
  22. DL_IMPORT(void) PySys_ResetWarnOptions(void);
  23. DL_IMPORT(void) PySys_AddWarnOption(char *);
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif /* !Py_SYSMODULE_H */
  29.