• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 /* Interface to execute compiled code */
3 
4 #ifndef Py_EVAL_H
5 #define Py_EVAL_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *);
11 
12 PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co,
13                                          PyObject *globals,
14                                          PyObject *locals,
15                                          PyObject *const *args, int argc,
16                                          PyObject *const *kwds, int kwdc,
17                                          PyObject *const *defs, int defc,
18                                          PyObject *kwdefs, PyObject *closure);
19 
20 #ifndef Py_LIMITED_API
21 PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName(
22     PyObject *co,
23     PyObject *globals, PyObject *locals,
24     PyObject *const *args, Py_ssize_t argcount,
25     PyObject *const *kwnames, PyObject *const *kwargs,
26     Py_ssize_t kwcount, int kwstep,
27     PyObject *const *defs, Py_ssize_t defcount,
28     PyObject *kwdefs, PyObject *closure,
29     PyObject *name, PyObject *qualname);
30 
31 PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);
32 #endif
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 #endif /* !Py_EVAL_H */
38