summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-09-30 22:46:42 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2019-09-30 22:46:42 (GMT)
commitbdace21b769998396d0ccc8da99a8ca9b507bfdf (patch)
treede149589d8dd498ddf3574e9d9551951d3f7e79b /Include/internal
parent92ca515ee1efbdc51678e12d105ad642c9b9cc13 (diff)
downloadcpython-bdace21b769998396d0ccc8da99a8ca9b507bfdf.zip
cpython-bdace21b769998396d0ccc8da99a8ca9b507bfdf.tar.gz
cpython-bdace21b769998396d0ccc8da99a8ca9b507bfdf.tar.bz2
bpo-38304: Remove PyConfig.struct_size (GH-16500)
For now, we'll rely on the fact that the config structures aren't covered by the stable ABI. We may revisit this in the future if we further explore the idea of offering a stable embedding API.
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_initconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_initconfig.h b/Include/internal/pycore_initconfig.h
index eb6490f..e9810bc 100644
--- a/Include/internal/pycore_initconfig.h
+++ b/Include/internal/pycore_initconfig.h
@@ -120,8 +120,8 @@ extern PyStatus _PyPreCmdline_Read(_PyPreCmdline *cmdline,
/* --- PyPreConfig ----------------------------------------------- */
-PyAPI_FUNC(PyStatus) _PyPreConfig_InitCompatConfig(PyPreConfig *preconfig);
-extern PyStatus _PyPreConfig_InitFromConfig(
+PyAPI_FUNC(void) _PyPreConfig_InitCompatConfig(PyPreConfig *preconfig);
+extern void _PyPreConfig_InitFromConfig(
PyPreConfig *preconfig,
const PyConfig *config);
extern PyStatus _PyPreConfig_InitFromPreConfig(