gooderp18绿色标准版
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

27 lines
551B

  1. /* Limited C API of PyFrame API
  2. *
  3. * Include "frameobject.h" to get the PyFrameObject structure.
  4. */
  5. #ifndef Py_PYFRAME_H
  6. #define Py_PYFRAME_H
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. /* Return the line of code the frame is currently executing. */
  11. PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);
  12. PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);
  13. #ifndef Py_LIMITED_API
  14. # define Py_CPYTHON_PYFRAME_H
  15. # include "cpython/pyframe.h"
  16. # undef Py_CPYTHON_PYFRAME_H
  17. #endif
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* !Py_PYFRAME_H */
上海开阖软件有限公司 沪ICP备12045867号-1