eval.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Interface to execute compiled code */
  2. #ifndef Py_EVAL_H
  3. #define Py_EVAL_H
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *);
  8. PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co,
  9. PyObject *globals,
  10. PyObject *locals,
  11. PyObject *const *args, int argc,
  12. PyObject *const *kwds, int kwdc,
  13. PyObject *const *defs, int defc,
  14. PyObject *kwdefs, PyObject *closure);
  15. #ifndef Py_LIMITED_API
  16. PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName(
  17. PyObject *co,
  18. PyObject *globals, PyObject *locals,
  19. PyObject *const *args, Py_ssize_t argcount,
  20. PyObject *const *kwnames, PyObject *const *kwargs,
  21. Py_ssize_t kwcount, int kwstep,
  22. PyObject *const *defs, Py_ssize_t defcount,
  23. PyObject *kwdefs, PyObject *closure,
  24. PyObject *name, PyObject *qualname);
  25. PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);
  26. #endif
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #endif /* !Py_EVAL_H */