diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
commit | 91a681debf9ffec155d0aff8a0bb5f965f592e16 (patch) | |
tree | 09f28782e3b0a24e64deddeafc9df24ac93855ca /Include/sysmodule.h | |
parent | 44121a6bc9828c993932b87e442440dc4f260f3c (diff) | |
download | cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.zip cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.gz cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.bz2 |
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
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 ca6b6d7..4f05ac9 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -7,22 +7,22 @@ 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 *); +PyAPI_FUNC(PyObject *) PySys_GetObject(char *); +PyAPI_FUNC(int) PySys_SetObject(char *, PyObject *); +PyAPI_FUNC(FILE *) PySys_GetFile(char *, FILE *); +PyAPI_FUNC(void) PySys_SetArgv(int, char **); +PyAPI_FUNC(void) PySys_SetPath(char *); -DL_IMPORT(void) PySys_WriteStdout(const char *format, ...) +PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) __attribute__((format(printf, 1, 2))); -DL_IMPORT(void) PySys_WriteStderr(const char *format, ...) +PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) __attribute__((format(printf, 1, 2))); -extern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc; -extern DL_IMPORT(int) _PySys_CheckInterval; +PyAPI_DATA(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc; +PyAPI_DATA(int) _PySys_CheckInterval; -DL_IMPORT(void) PySys_ResetWarnOptions(void); -DL_IMPORT(void) PySys_AddWarnOption(char *); +PyAPI_FUNC(void) PySys_ResetWarnOptions(void); +PyAPI_FUNC(void) PySys_AddWarnOption(char *); #ifdef __cplusplus } |