/* Limited C API of PyFrame API1*2* Include "frameobject.h" to get the PyFrameObject structure.3*/45#ifndef Py_PYFRAME_H6#define Py_PYFRAME_H7#ifdef __cplusplus8extern "C" {9#endif1011/* Return the line of code the frame is currently executing. */12PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);1314PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);1516#ifndef Py_LIMITED_API17# define Py_CPYTHON_PYFRAME_H18# include "cpython/pyframe.h"19# undef Py_CPYTHON_PYFRAME_H20#endif2122#ifdef __cplusplus23}24#endif25#endif /* !Py_PYFRAME_H */262728