summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_pathconfig.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-25 03:16:28 (GMT)
committerGitHub <noreply@github.com>2023-07-25 03:16:28 (GMT)
commitc5b13d6f80630d29bf5dca9cde53dfe15cf94f8b (patch)
tree1d3be27a2555b8a616c5748a7e9f4a2dfbd995bd /Include/internal/pycore_pathconfig.h
parent0d0520af834dc92035d54d302e67f50f86353d41 (diff)
downloadcpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.zip
cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.tar.gz
cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.tar.bz2
gh-107211: No longer export internal functions (4) (#107217)
No longer export these 2 internal C API functions: * _PyEval_SignalAsyncExc() * _PyEval_SignalReceived() Add also comments explaining why some internal functions have to be exported, and update existing comments.
Diffstat (limited to 'Include/internal/pycore_pathconfig.h')
-rw-r--r--Include/internal/pycore_pathconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_pathconfig.h b/Include/internal/pycore_pathconfig.h
index b8deaa0..729f3e0 100644
--- a/Include/internal/pycore_pathconfig.h
+++ b/Include/internal/pycore_pathconfig.h
@@ -8,6 +8,7 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
+// Export for '_testinternalcapi' shared extension
PyAPI_FUNC(void) _PyPathConfig_ClearGlobal(void);
extern PyStatus _PyPathConfig_ReadGlobal(PyConfig *config);
extern PyStatus _PyPathConfig_UpdateGlobal(const PyConfig *config);