mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
91a681debf
Thanks to Skip Montanaro and Kalle Svensson for the patches.
24 lines
480 B
C
24 lines
480 B
C
|
|
/* Interface to execute compiled code */
|
|
|
|
#ifndef Py_EVAL_H
|
|
#define Py_EVAL_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *);
|
|
|
|
PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co,
|
|
PyObject *globals,
|
|
PyObject *locals,
|
|
PyObject **args, int argc,
|
|
PyObject **kwds, int kwdc,
|
|
PyObject **defs, int defc,
|
|
PyObject *closure);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Py_EVAL_H */
|