summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pystate.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-02 18:36:57 (GMT)
committerGitHub <noreply@github.com>2022-12-02 18:36:57 (GMT)
commit0547a981ae413248b21a6bb0cb62dda7d236fe45 (patch)
tree284f9abff17da763537e6087b30452a6f4aeadc9 /Include/cpython/pystate.h
parentab02262cd0385a2fb5eb8a6ee3cedd4b4bb969f3 (diff)
downloadcpython-0547a981ae413248b21a6bb0cb62dda7d236fe45.zip
cpython-0547a981ae413248b21a6bb0cb62dda7d236fe45.tar.gz
cpython-0547a981ae413248b21a6bb0cb62dda7d236fe45.tar.bz2
gh-99741: Clean Up the _xxsubinterpreters Module (gh-99940)
This cleanup up resolves a few subtle bugs and makes the implementation for multi-phase init much cleaner. https://github.com/python/cpython/issues/99741
Diffstat (limited to 'Include/cpython/pystate.h')
-rw-r--r--Include/cpython/pystate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h
index 7468a1c..0f56b1f 100644
--- a/Include/cpython/pystate.h
+++ b/Include/cpython/pystate.h
@@ -394,7 +394,7 @@ struct _xid {
PyAPI_FUNC(int) _PyObject_GetCrossInterpreterData(PyObject *, _PyCrossInterpreterData *);
PyAPI_FUNC(PyObject *) _PyCrossInterpreterData_NewObject(_PyCrossInterpreterData *);
-PyAPI_FUNC(void) _PyCrossInterpreterData_Release(_PyCrossInterpreterData *);
+PyAPI_FUNC(int) _PyCrossInterpreterData_Release(_PyCrossInterpreterData *);
PyAPI_FUNC(int) _PyObject_CheckCrossInterpreterData(PyObject *);