commit | 1c0689c613b61c8944456e78c5b592e3aaa40aba | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Fri Jan 03 21:36:49 2014 +0100 |
committer | Martin v. Löwis <martin@v.loewis.de> | Fri Jan 03 21:36:49 2014 +0100 |
tree | 7f8bb895da42b257af0ca9cbc2dd13e60abf2186 | |
parent | a2924cabaf115169b1629424dbe71ba5a18670da [diff] [blame] |
Issue #19526: Exclude all new API from the stable ABI.
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 925c2a3..79e52a3 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h
@@ -8,7 +8,9 @@ #endif PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); +#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 *);