Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/python3.12/pyframe.h
$ cat -n /usr/include/python3.12/pyframe.h 1 /* Limited C API of PyFrame API 2 * 3 * Include "frameobject.h" to get the PyFrameObject structure. 4 */ 5 6 #ifndef Py_PYFRAME_H 7 #define Py_PYFRAME_H 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 /* Return the line of code the frame is currently executing. */ 13 PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *); 14 15 PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame); 16 17 #ifndef Py_LIMITED_API 18 # define Py_CPYTHON_PYFRAME_H 19 # include "cpython/pyframe.h" 20 # undef Py_CPYTHON_PYFRAME_H 21 #endif 22 23 #ifdef __cplusplus 24 } 25 #endif 26 #endif /* !Py_PYFRAME_H */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™