Changeset 388 for python/vendor/current/Include/frameobject.h
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Include/frameobject.h
r2 r388 39 39 PyThreadState *f_tstate; 40 40 int f_lasti; /* Last instruction if called */ 41 /* As of 2.3 f_lineno is only valid when tracing is active (i.e. when 42 f_trace is set) -- at other times use PyCode_Addr2Line instead. */ 41 /* Call PyFrame_GetLineNumber() instead of reading this field 42 directly. As of 2.3 f_lineno is only valid when tracing is 43 active (i.e. when f_trace is set). At other times we use 44 PyCode_Addr2Line to calculate the line from the current 45 bytecode index. */ 43 46 int f_lineno; /* Current line number */ 44 47 int f_iblock; /* index in f_blockstack */ … … 78 81 PyAPI_FUNC(int) PyFrame_ClearFreeList(void); 79 82 83 /* Return the line of code the frame is currently executing. */ 84 PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *); 85 80 86 #ifdef __cplusplus 81 87 }
Note:
See TracChangeset
for help on using the changeset viewer.