summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_function.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pycore_function.h')
-rw-r--r--Include/internal/pycore_function.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/internal/pycore_function.h b/Include/internal/pycore_function.h
index 1c87aa3..c95190f 100644
--- a/Include/internal/pycore_function.h
+++ b/Include/internal/pycore_function.h
@@ -8,6 +8,10 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
+struct _py_func_runtime_state {
+ uint32_t next_version;
+};
+
extern PyFunctionObject* _PyFunction_FromConstructor(PyFrameConstructor *constr);
extern uint32_t _PyFunction_GetVersionForCurrentState(PyFunctionObject *func);