Mercurial > repos > rliterman > csp2
annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/python3.8/sysmodule.h @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
rev | line source |
---|---|
jpayne@69 | 1 |
jpayne@69 | 2 /* System module interface */ |
jpayne@69 | 3 |
jpayne@69 | 4 #ifndef Py_SYSMODULE_H |
jpayne@69 | 5 #define Py_SYSMODULE_H |
jpayne@69 | 6 #ifdef __cplusplus |
jpayne@69 | 7 extern "C" { |
jpayne@69 | 8 #endif |
jpayne@69 | 9 |
jpayne@69 | 10 PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); |
jpayne@69 | 11 PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); |
jpayne@69 | 12 |
jpayne@69 | 13 PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); |
jpayne@69 | 14 PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); |
jpayne@69 | 15 PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); |
jpayne@69 | 16 |
jpayne@69 | 17 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) |
jpayne@69 | 18 Py_GCC_ATTRIBUTE((format(printf, 1, 2))); |
jpayne@69 | 19 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) |
jpayne@69 | 20 Py_GCC_ATTRIBUTE((format(printf, 1, 2))); |
jpayne@69 | 21 PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...); |
jpayne@69 | 22 PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...); |
jpayne@69 | 23 |
jpayne@69 | 24 PyAPI_FUNC(void) PySys_ResetWarnOptions(void); |
jpayne@69 | 25 PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); |
jpayne@69 | 26 PyAPI_FUNC(void) PySys_AddWarnOptionUnicode(PyObject *); |
jpayne@69 | 27 PyAPI_FUNC(int) PySys_HasWarnOptions(void); |
jpayne@69 | 28 |
jpayne@69 | 29 PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); |
jpayne@69 | 30 PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); |
jpayne@69 | 31 |
jpayne@69 | 32 #ifndef Py_LIMITED_API |
jpayne@69 | 33 # define Py_CPYTHON_SYSMODULE_H |
jpayne@69 | 34 # include "cpython/sysmodule.h" |
jpayne@69 | 35 # undef Py_CPYTHON_SYSMODULE_H |
jpayne@69 | 36 #endif |
jpayne@69 | 37 |
jpayne@69 | 38 #ifdef __cplusplus |
jpayne@69 | 39 } |
jpayne@69 | 40 #endif |
jpayne@69 | 41 #endif /* !Py_SYSMODULE_H */ |