summaryrefslogtreecommitdiff
path: root/Include/cpython
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-02 10:39:17 -0700
committerGitHub <noreply@github.com>2022-12-02 10:39:17 -0700
commitb4f35055496d918b42ff305b5d09ebd333204a69 (patch)
tree69257efadd59c5216ae591e8ac1a0966303ca450 /Include/cpython
parent3c137dc613c860f605d3520d7fd722cd8ed79da6 (diff)
downloadcpython-git-b4f35055496d918b42ff305b5d09ebd333204a69.tar.gz
gh-99741: Fix the Cross-Interpreter Data API (gh-99939)
There were some minor issues that showed up while I was working on porting _xxsubinterpreters to multi-phase init. This fixes them. https://github.com/python/cpython/issues/99741
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/pystate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h
index c51542bcc8..7468a1c4f2 100644
--- a/Include/cpython/pystate.h
+++ b/Include/cpython/pystate.h
@@ -403,4 +403,5 @@ PyAPI_FUNC(int) _PyObject_CheckCrossInterpreterData(PyObject *);
typedef int (*crossinterpdatafunc)(PyObject *, _PyCrossInterpreterData *);
PyAPI_FUNC(int) _PyCrossInterpreterData_RegisterClass(PyTypeObject *, crossinterpdatafunc);
+PyAPI_FUNC(int) _PyCrossInterpreterData_UnregisterClass(PyTypeObject *);
PyAPI_FUNC(crossinterpdatafunc) _PyCrossInterpreterData_Lookup(PyObject *);