blob: b78dfe0fae0027e609ad232c7cac28b25a7978a5 [file] [log] [blame]
Guido van Rossumff4949e1992-08-05 19:58:53 +00001
2/* Interface to execute compiled code */
3
Fred Drake5eb6d4e2000-07-08 23:37:28 +00004#ifndef Py_EVAL_H
5#define Py_EVAL_H
6#ifdef __cplusplus
7extern "C" {
8#endif
9
Mark Hammond91a681d2002-08-12 07:21:58 +000010PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *);
Guido van Rossuma3309961993-07-28 09:05:47 +000011
Mark Hammond91a681d2002-08-12 07:21:58 +000012PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co,
Tim Peters6d6c1a32001-08-02 04:15:00 +000013 PyObject *globals,
14 PyObject *locals,
15 PyObject **args, int argc,
16 PyObject **kwds, int kwdc,
17 PyObject **defs, int defc,
18 PyObject *closure);
19
Guido van Rossuma12fe4e2003-04-09 19:06:21 +000020PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);
21
Guido van Rossuma3309961993-07-28 09:05:47 +000022#ifdef __cplusplus
23}
24#endif
25#endif /* !Py_EVAL_H */