summaryrefslogtreecommitdiff
path: root/Include/sysmodule.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-11 11:03:14 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-11 11:03:14 +0300
commit9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 (patch)
treeb24f07e6f0ccb42ae02628248d1b521d6700386f /Include/sysmodule.h
parentc16595e567d51a1773be30c34622620b52be7acf (diff)
downloadcpython-git-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.gz
Issue #26900: Excluded underscored names and other private API from limited API.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r--Include/sysmodule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h
index cde10ac4ca..c5547ff674 100644
--- a/Include/sysmodule.h
+++ b/Include/sysmodule.h
@@ -8,11 +8,11 @@ extern "C" {
#endif
PyAPI_FUNC(PyObject *) PySys_GetObject(const char *);
+PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key);
-#endif
-PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *);
+#endif
PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int);