summaryrefslogtreecommitdiffstats
path: root/Include/sysmodule.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-06 21:36:40 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-11-06 21:36:40 (GMT)
commitd67bd45537856a097d807e2b781fcaf60c68b89f (patch)
tree30239d2e232075d5886a62e4cd5117b6e0eda546 /Include/sysmodule.h
parentb44562b6b90c4974ac11aae2caec227295679363 (diff)
downloadcpython-d67bd45537856a097d807e2b781fcaf60c68b89f.zip
cpython-d67bd45537856a097d807e2b781fcaf60c68b89f.tar.gz
cpython-d67bd45537856a097d807e2b781fcaf60c68b89f.tar.bz2
Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functions
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r--Include/sysmodule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h
index 0cabf6f..925c2a3 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 *);