mirror of
https://github.com/python/cpython.git
synced 2025-08-24 02:35:59 +00:00
ANSI-fication and Py_PROTO extermination.
This commit is contained in:
parent
ea9cb5aebf
commit
3cf4d2b3ea
10 changed files with 166 additions and 173 deletions
|
@ -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, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue