blob: eda28df8f65281edf5171de9e43228c92a63f3de [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,
Victor Stinnerc22bfaa2017-02-12 19:27:05 +010013 PyObject *globals,
14 PyObject *locals,
Serhiy Storchakaa5552f02017-12-15 13:11:11 +020015 PyObject *const *args, int argc,
16 PyObject *const *kwds, int kwdc,
17 PyObject *const *defs, int defc,
Victor Stinnerc22bfaa2017-02-12 19:27:05 +010018 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 */