Changeset 391 for python/trunk/Include/frameobject.h
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Include/frameobject.h
r2 r391 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.