blob: a2920c031c5aaacf30d231baec01dd2e5ec1a4cb [file] [log] [blame]
Guido van Rossumf70e43a1991-02-19 12:39:46 +00001/***********************************************************
Guido van Rossumfd71b9e2000-06-30 23:50:40 +00002Copyright (c) 2000, BeOpen.com.
3Copyright (c) 1995-2000, Corporation for National Research Initiatives.
4Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
5All rights reserved.
Guido van Rossumf70e43a1991-02-19 12:39:46 +00006
Guido van Rossumfd71b9e2000-06-30 23:50:40 +00007See the file "Misc/COPYRIGHT" for information on usage and
8redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Guido van Rossumf70e43a1991-02-19 12:39:46 +00009******************************************************************/
10
Guido van Rossum85a5fbb1990-10-14 12:07:46 +000011/* System module interface */
12
Fred Drake3cf4d2b2000-07-09 00:55:06 +000013#ifndef Py_SYSMODULE_H
14#define Py_SYSMODULE_H
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19DL_IMPORT(PyObject *) PySys_GetObject(char *);
20DL_IMPORT(int) PySys_SetObject(char *, PyObject *);
21DL_IMPORT(FILE *) PySys_GetFile(char *, FILE *);
22DL_IMPORT(void) PySys_SetArgv(int, char **);
23DL_IMPORT(void) PySys_SetPath(char *);
Guido van Rossumd510c781992-03-23 18:20:04 +000024
Guido van Rossum43466ec1998-12-04 18:48:25 +000025DL_IMPORT(void) PySys_WriteStdout(const char *format, ...);
26DL_IMPORT(void) PySys_WriteStderr(const char *format, ...);
Guido van Rossumbf6a9b11998-05-12 14:58:52 +000027
Guido van Rossum051ab121995-02-27 10:17:52 +000028extern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
29extern DL_IMPORT(int) _PySys_CheckInterval;
Guido van Rossuma3309961993-07-28 09:05:47 +000030
31#ifdef __cplusplus
32}
33#endif
34#endif /* !Py_SYSMODULE_H */