/usr/include/python3.10/internal
NameSizeModeActions
pycore_abstract.h4790644editdlrm
pycore_accu.h11260644editdlrm
pycore_asdl.h29710644editdlrm
pycore_ast.h288280644editdlrm
pycore_ast_state.h64570644editdlrm
pycore_atomic.h169790644editdlrm
pycore_atomic_funcs.h24380644editdlrm
pycore_bitutils.h52710644editdlrm
pycore_blocks_output_buffer.h86880644editdlrm
pycore_bytes_methods.h33840644editdlrm
pycore_call.h8700644editdlrm
pycore_ceval.h34840644editdlrm
pycore_code.h6960644editdlrm
pycore_compile.h10450644editdlrm
pycore_condvar.h28090644editdlrm
pycore_context.h8220644editdlrm
pycore_dtoa.h6460644editdlrm
pycore_fileutils.h17040644editdlrm
pycore_format.h4800644editdlrm
pycore_gc.h68590644editdlrm
pycore_getopt.h4900644editdlrm
pycore_gil.h15650644editdlrm
pycore_hamt.h36970644editdlrm
pycore_hashtable.h41970644editdlrm
pycore_import.h3460644editdlrm
pycore_initconfig.h56250644editdlrm
pycore_interp.h92890644editdlrm
pycore_list.h3500644editdlrm
pycore_long.h25890644editdlrm
pycore_moduleobject.h10470644editdlrm
pycore_object.h59890644editdlrm
pycore_parser.h6260644editdlrm
pycore_pathconfig.h19810644editdlrm
pycore_pyarena.h27330644editdlrm
pycore_pyerrors.h23140644editdlrm
pycore_pyhash.h2060644editdlrm
pycore_pylifecycle.h49400644editdlrm
pycore_pymem.h32110644editdlrm
pycore_pystate.h39380644editdlrm
pycore_runtime.h49020644editdlrm
pycore_structseq.h3860644editdlrm
pycore_symtable.h55780644editdlrm
pycore_sysmodule.h5480644editdlrm
pycore_traceback.h29700644editdlrm
pycore_tuple.h4250644editdlrm
pycore_ucnhash.h8980644editdlrm
pycore_unionobject.h6290644editdlrm
pycore_warnings.h6330644editdlrm
Edit: /usr/include/python3.10/internal/pycore_ceval.h (3484B)
#ifndef Py_INTERNAL_CEVAL_H #define Py_INTERNAL_CEVAL_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif /* Forward declarations */ struct pyruntimestate; struct _ceval_runtime_state; #include "pycore_interp.h" /* PyInterpreterState.eval_frame */ extern void _Py_FinishPendingCalls(PyThreadState *tstate); extern void _PyEval_InitRuntimeState(struct _ceval_runtime_state *); extern int _PyEval_InitState(struct _ceval_state *ceval); extern void _PyEval_FiniState(struct _ceval_state *ceval); PyAPI_FUNC(void) _PyEval_SignalReceived(PyInterpreterState *interp); PyAPI_FUNC(int) _PyEval_AddPendingCall( PyInterpreterState *interp, int (*func)(void *), void *arg); PyAPI_FUNC(void) _PyEval_SignalAsyncExc(PyInterpreterState *interp); #ifdef HAVE_FORK extern PyStatus _PyEval_ReInitThreads(PyThreadState *tstate); #endif PyAPI_FUNC(void) _PyEval_SetCoroutineOriginTrackingDepth( PyThreadState *tstate, int new_depth); void _PyEval_Fini(void); extern PyObject* _PyEval_GetBuiltins(PyThreadState *tstate); extern PyObject *_PyEval_BuiltinsFromGlobals( PyThreadState *tstate, PyObject *globals); static inline PyObject* _PyEval_EvalFrame(PyThreadState *tstate, PyFrameObject *f, int throwflag) { return tstate->interp->eval_frame(tstate, f, throwflag); } extern PyObject * _PyEval_Vector(PyThreadState *tstate, PyFrameConstructor *desc, PyObject *locals, PyObject* const* args, size_t argcount, PyObject *kwnames); #ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS extern int _PyEval_ThreadsInitialized(PyInterpreterState *interp); #else extern int _PyEval_ThreadsInitialized(struct pyruntimestate *runtime); #endif extern PyStatus _PyEval_InitGIL(PyThreadState *tstate); extern void _PyEval_FiniGIL(PyInterpreterState *interp); extern void _PyEval_ReleaseLock(PyThreadState *tstate); extern void _PyEval_DeactivateOpCache(void); /* --- _Py_EnterRecursiveCall() ----------------------------------------- */ #ifdef USE_STACKCHECK /* With USE_STACKCHECK macro defined, trigger stack checks in _Py_CheckRecursiveCall() on every 64th call to Py_EnterRecursiveCall. */ static inline int _Py_MakeRecCheck(PyThreadState *tstate) { return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit || ++tstate->stackcheck_counter > 64); } #else static inline int _Py_MakeRecCheck(PyThreadState *tstate) { return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit); } #endif PyAPI_FUNC(int) _Py_CheckRecursiveCall( PyThreadState *tstate, const char *where); static inline int _Py_EnterRecursiveCall(PyThreadState *tstate, const char *where) { return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where)); } static inline int _Py_EnterRecursiveCall_inline(const char *where) { PyThreadState *tstate = PyThreadState_GET(); return _Py_EnterRecursiveCall(tstate, where); } #define Py_EnterRecursiveCall(where) _Py_EnterRecursiveCall_inline(where) static inline void _Py_LeaveRecursiveCall(PyThreadState *tstate) { tstate->recursion_depth--; } static inline void _Py_LeaveRecursiveCall_inline(void) { PyThreadState *tstate = PyThreadState_GET(); _Py_LeaveRecursiveCall(tstate); } #define Py_LeaveRecursiveCall() _Py_LeaveRecursiveCall_inline() #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_CEVAL_H */