From 0547a981ae413248b21a6bb0cb62dda7d236fe45 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Fri, 2 Dec 2022 11:36:57 -0700 Subject: 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 --- Include/cpython/pystate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/cpython') diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h index 7468a1c4f2..0f56b1f219 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 *); -- cgit v1.2.1