File indexing completed on 2025-01-30 10:18:06
0001 #ifndef Py_INTERNAL_FUNCTION_H
0002 #define Py_INTERNAL_FUNCTION_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007 #ifndef Py_BUILD_CORE
0008 # error "this header requires Py_BUILD_CORE define"
0009 #endif
0010
0011 #define FUNC_MAX_WATCHERS 8
0012
0013 struct _py_func_state {
0014 uint32_t next_version;
0015 };
0016
0017 extern PyFunctionObject* _PyFunction_FromConstructor(PyFrameConstructor *constr);
0018
0019 extern uint32_t _PyFunction_GetVersionForCurrentState(PyFunctionObject *func);
0020 extern PyObject *_Py_set_function_type_params(
0021 PyThreadState* unused, PyObject *func, PyObject *type_params);
0022
0023 #ifdef __cplusplus
0024 }
0025 #endif
0026 #endif