Guido van Rossum | ff4949e | 1992-08-05 19:58:53 +0000 | [diff] [blame] | 1 | |
| 2 | /* Interface to execute compiled code */ |
| 3 | |
Fred Drake | 5eb6d4e | 2000-07-08 23:37:28 +0000 | [diff] [blame] | 4 | #ifndef Py_EVAL_H |
| 5 | #define Py_EVAL_H |
| 6 | #ifdef __cplusplus |
| 7 | extern "C" { |
| 8 | #endif |
| 9 | |
| 10 | DL_IMPORT(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *); |
Guido van Rossum | a330996 | 1993-07-28 09:05:47 +0000 | [diff] [blame] | 11 | |
Tim Peters | 6d6c1a3 | 2001-08-02 04:15:00 +0000 | [diff] [blame] | 12 | DL_IMPORT(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co, |
| 13 | 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 Rossum | a330996 | 1993-07-28 09:05:47 +0000 | [diff] [blame] | 20 | #ifdef __cplusplus |
| 21 | } |
| 22 | #endif |
| 23 | #endif /* !Py_EVAL_H */ |