blob: a1c6e817dd342568fd79182cc4bedbce7c52dc4c [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
Martin v. Löwis4d0d4712010-12-03 20:14:31 +000010PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *);
Guido van Rossuma3309961993-07-28 09:05:47 +000011
Martin v. Löwis4d0d4712010-12-03 20:14:31 +000012PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *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,
Guido van Rossum4f72a782006-10-27 23:31:49 +000018 PyObject *kwdefs, PyObject *closure);
Tim Peters6d6c1a32001-08-02 04:15:00 +000019
Martin v. Löwis4d0d4712010-12-03 20:14:31 +000020#ifndef Py_LIMITED_API
Guido van Rossuma12fe4e2003-04-09 19:06:21 +000021PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);
Martin v. Löwis4d0d4712010-12-03 20:14:31 +000022#endif
Guido van Rossuma12fe4e2003-04-09 19:06:21 +000023
Guido van Rossuma3309961993-07-28 09:05:47 +000024#ifdef __cplusplus
25}
26#endif
27#endif /* !Py_EVAL_H */