2021-08-08 04:08:33 +00:00
|
|
|
#ifndef Py_EVAL_H
|
|
|
|
#define Py_EVAL_H
|
2021-08-12 07:42:14 +00:00
|
|
|
#include "third_party/python/Include/object.h"
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
/* clang-format off */
|
2021-08-08 04:08:33 +00:00
|
|
|
|
2021-08-12 07:42:14 +00:00
|
|
|
PyObject * PyEval_EvalCode(PyObject *, PyObject *, PyObject *);
|
2021-08-08 04:08:33 +00:00
|
|
|
|
2021-08-12 07:42:14 +00:00
|
|
|
PyObject * PyEval_EvalCodeEx(PyObject *co,
|
2021-08-08 04:08:33 +00:00
|
|
|
PyObject *globals,
|
|
|
|
PyObject *locals,
|
|
|
|
PyObject **args, int argc,
|
|
|
|
PyObject **kwds, int kwdc,
|
|
|
|
PyObject **defs, int defc,
|
|
|
|
PyObject *kwdefs, PyObject *closure);
|
|
|
|
|
|
|
|
#ifndef Py_LIMITED_API
|
2022-05-13 12:05:12 +00:00
|
|
|
PyObject * _PyEval_EvalCodeWithName(
|
|
|
|
PyObject *co,
|
|
|
|
PyObject *globals, PyObject *locals,
|
|
|
|
PyObject **args, Py_ssize_t argcount,
|
|
|
|
PyObject **kwnames, PyObject **kwargs,
|
|
|
|
Py_ssize_t kwcount, int kwstep,
|
|
|
|
PyObject **defs, Py_ssize_t defcount,
|
|
|
|
PyObject *kwdefs, PyObject *closure,
|
|
|
|
PyObject *name, PyObject *qualname);
|
|
|
|
|
2021-08-12 07:42:14 +00:00
|
|
|
PyObject * _PyEval_CallTracing(PyObject *func, PyObject *args);
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif
|
|
|
|
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_END_
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif /* !Py_EVAL_H */
|