sysmodule.h revision ffcc3813d82e6b96db79f518f4e67b940a13ce64
1#ifndef Py_SYSMODULE_H 2#define Py_SYSMODULE_H 3#ifdef __cplusplus 4extern "C" { 5#endif 6 7/*********************************************************** 8Copyright (c) 2000, BeOpen.com. 9Copyright (c) 1995-2000, Corporation for National Research Initiatives. 10Copyright (c) 1990-1995, Stichting Mathematisch Centrum. 11All rights reserved. 12 13See the file "Misc/COPYRIGHT" for information on usage and 14redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 15******************************************************************/ 16 17/* System module interface */ 18 19DL_IMPORT(PyObject *) PySys_GetObject Py_PROTO((char *)); 20DL_IMPORT(int) PySys_SetObject Py_PROTO((char *, PyObject *)); 21DL_IMPORT(FILE *) PySys_GetFile Py_PROTO((char *, FILE *)); 22DL_IMPORT(void) PySys_SetArgv Py_PROTO((int, char **)); 23DL_IMPORT(void) PySys_SetPath Py_PROTO((char *)); 24 25#ifdef HAVE_STDARG_PROTOTYPES 26DL_IMPORT(void) PySys_WriteStdout(const char *format, ...); 27DL_IMPORT(void) PySys_WriteStderr(const char *format, ...); 28#else 29/* Better to have no prototypes at all for varargs functions in this case */ 30DL_IMPORT(void) PySys_WriteStdout(); 31DL_IMPORT(void) PySys_WriteStderr(); 32#endif 33 34extern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc; 35extern DL_IMPORT(int) _PySys_CheckInterval; 36 37#ifdef __cplusplus 38} 39#endif 40#endif /* !Py_SYSMODULE_H */ 41