Staging
v0.5.1
https://github.com/python/cpython
Revision 8d77d448a53ed9d0607f1ad226056eb8ee8a48f8 authored by Benjamin Peterson on 30 September 2008, 01:31:49 UTC, committed by Benjamin Peterson on 30 September 2008, 01:31:49 UTC
1 parent 37040cd
Raw File
Tip revision: 8d77d448a53ed9d0607f1ad226056eb8ee8a48f8 authored by Benjamin Peterson on 30 September 2008, 01:31:49 UTC
fix security issue 2: imageop's poor validation of arguments could result in segfaults
Tip revision: 8d77d44
eval.h

/* 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);

PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);

#ifdef __cplusplus
}
#endif
#endif /* !Py_EVAL_H */
back to top