diff options
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r-- | Include/sysmodule.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 2dee530..e208fc3 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -1,9 +1,3 @@ -#ifndef Py_SYSMODULE_H -#define Py_SYSMODULE_H -#ifdef __cplusplus -extern "C" { -#endif - /*********************************************************** Copyright (c) 2000, BeOpen.com. Copyright (c) 1995-2000, Corporation for National Research Initiatives. @@ -16,11 +10,17 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. /* System module interface */ -DL_IMPORT(PyObject *) PySys_GetObject Py_PROTO((char *)); -DL_IMPORT(int) PySys_SetObject Py_PROTO((char *, PyObject *)); -DL_IMPORT(FILE *) PySys_GetFile Py_PROTO((char *, FILE *)); -DL_IMPORT(void) PySys_SetArgv Py_PROTO((int, char **)); -DL_IMPORT(void) PySys_SetPath Py_PROTO((char *)); +#ifndef Py_SYSMODULE_H +#define Py_SYSMODULE_H +#ifdef __cplusplus +extern "C" { +#endif + +DL_IMPORT(PyObject *) PySys_GetObject(char *); +DL_IMPORT(int) PySys_SetObject(char *, PyObject *); +DL_IMPORT(FILE *) PySys_GetFile(char *, FILE *); +DL_IMPORT(void) PySys_SetArgv(int, char **); +DL_IMPORT(void) PySys_SetPath(char *); #ifdef HAVE_STDARG_PROTOTYPES DL_IMPORT(void) PySys_WriteStdout(const char *format, ...); |