| /* Limited C API of PyFrame API | |
| * | |
| * Include "frameobject.h" to get the PyFrameObject structure. | |
| */ | |
| extern "C" { | |
| /* Return the line of code the frame is currently executing. */ | |
| PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *); | |
| PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame); | |
| } | |