Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:06:40

0001 #ifndef Py_CPYTHON_CEVAL_H
0002 #  error "this header file must not be included directly"
0003 #endif
0004 
0005 PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
0006 PyAPI_FUNC(void) PyEval_SetProfileAllThreads(Py_tracefunc, PyObject *);
0007 PyAPI_DATA(int) _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyObject *arg);
0008 PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
0009 PyAPI_FUNC(void) PyEval_SetTraceAllThreads(Py_tracefunc, PyObject *);
0010 PyAPI_FUNC(int) _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg);
0011 
0012 /* Helper to look up a builtin object */
0013 PyAPI_FUNC(PyObject *) _PyEval_GetBuiltin(PyObject *);
0014 PyAPI_FUNC(PyObject *) _PyEval_GetBuiltinId(_Py_Identifier *);
0015 /* Look at the current frame's (if any) code's co_flags, and turn on
0016    the corresponding compiler flags in cf->cf_flags.  Return 1 if any
0017    flag was set, else return 0. */
0018 PyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf);
0019 
0020 PyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(PyThreadState *tstate, struct _PyInterpreterFrame *f, int exc);
0021 
0022 PyAPI_FUNC(void) _PyEval_SetSwitchInterval(unsigned long microseconds);
0023 PyAPI_FUNC(unsigned long) _PyEval_GetSwitchInterval(void);
0024 
0025 PyAPI_FUNC(int) _PyEval_MakePendingCalls(PyThreadState *);
0026 
0027 PyAPI_FUNC(Py_ssize_t) PyUnstable_Eval_RequestCodeExtraIndex(freefunc);
0028 // Old name -- remove when this API changes:
0029 _Py_DEPRECATED_EXTERNALLY(3.12) static inline Py_ssize_t
0030 _PyEval_RequestCodeExtraIndex(freefunc f) {
0031     return PyUnstable_Eval_RequestCodeExtraIndex(f);
0032 }
0033 
0034 PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *);
0035 PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *);