17db96d56Sopenharmony_ci#ifndef Py_CPYTHON_CEVAL_H
27db96d56Sopenharmony_ci#  error "this header file must not be included directly"
37db96d56Sopenharmony_ci#endif
47db96d56Sopenharmony_ci
57db96d56Sopenharmony_ciPyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
67db96d56Sopenharmony_ciPyAPI_DATA(int) _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyObject *arg);
77db96d56Sopenharmony_ciPyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
87db96d56Sopenharmony_ciPyAPI_FUNC(int) _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg);
97db96d56Sopenharmony_ci
107db96d56Sopenharmony_ci/* Helper to look up a builtin object */
117db96d56Sopenharmony_ciPyAPI_FUNC(PyObject *) _PyEval_GetBuiltin(PyObject *);
127db96d56Sopenharmony_ciPyAPI_FUNC(PyObject *) _PyEval_GetBuiltinId(_Py_Identifier *);
137db96d56Sopenharmony_ci/* Look at the current frame's (if any) code's co_flags, and turn on
147db96d56Sopenharmony_ci   the corresponding compiler flags in cf->cf_flags.  Return 1 if any
157db96d56Sopenharmony_ci   flag was set, else return 0. */
167db96d56Sopenharmony_ciPyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf);
177db96d56Sopenharmony_ci
187db96d56Sopenharmony_ciPyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(PyThreadState *tstate, struct _PyInterpreterFrame *f, int exc);
197db96d56Sopenharmony_ci
207db96d56Sopenharmony_ciPyAPI_FUNC(void) _PyEval_SetSwitchInterval(unsigned long microseconds);
217db96d56Sopenharmony_ciPyAPI_FUNC(unsigned long) _PyEval_GetSwitchInterval(void);
227db96d56Sopenharmony_ci
237db96d56Sopenharmony_ciPyAPI_FUNC(Py_ssize_t) _PyEval_RequestCodeExtraIndex(freefunc);
247db96d56Sopenharmony_ci
257db96d56Sopenharmony_ciPyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *);
267db96d56Sopenharmony_ciPyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *);
27