diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-06 22:36:40 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-06 22:36:40 +0100 |
commit | b056c912da3f1933c658aa31ad246ec4b54beec5 (patch) | |
tree | ecbfeb741eff2c31d6d5368d5444c513d87b3bb0 /Include/sysmodule.h | |
parent | 248af321d0a3954ba4c8bd3de5c0327c46a2920b (diff) | |
download | cpython-b056c912da3f1933c658aa31ad246ec4b54beec5.tar.gz |
Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functions
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r-- | Include/sysmodule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 0cabf6fee7..925c2a34f4 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -8,7 +8,10 @@ extern "C" { #endif PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); +PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); +PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *); + PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); |