summaryrefslogtreecommitdiffstats
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2014-01-03 20:36:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2014-01-03 20:36:49 (GMT)
commit1c0689c613b61c8944456e78c5b592e3aaa40aba (patch)
tree7f8bb895da42b257af0ca9cbc2dd13e60abf2186 /Include/pythonrun.h
parenta2924cabaf115169b1629424dbe71ba5a18670da (diff)
downloadcpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.zip
cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.gz
cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.bz2
Issue #19526: Exclude all new API from the stable ABI.
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index c364947..2fc5578 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -155,10 +155,12 @@ PyAPI_FUNC(struct symtable *) Py_SymtableString(
const char *str,
const char *filename, /* decoded from the filesystem encoding */
int start);
+#ifndef Py_LIMITED_API
PyAPI_FUNC(struct symtable *) Py_SymtableStringObject(
const char *str,
PyObject *filename,
int start);
+#endif
PyAPI_FUNC(void) PyErr_Print(void);
PyAPI_FUNC(void) PyErr_PrintEx(int);