File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed
Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ pub struct PythonUnwindInfo {
148148 pub tsd_info : TsdInfo ,
149149 pub offsets_id : u8 ,
150150 pub _padding : [ u8 ; 5 ] ,
151- pub none_struct_addr : u64 , // _Py_NoneStruct address for Python 3.13+, 0 otherwise
152151}
153152
154153#[ cfg( feature = "enterprise" ) ]
Original file line number Diff line number Diff line change @@ -195,8 +195,7 @@ typedef struct {
195195 uint16_t version ;
196196 tsd_info_t tsd_info ;
197197 uint8_t offsets_id ;
198- uint8_t _padding [5 ];
199- uint64_t none_struct_addr ;
198+ uint8_t padding [5 ];
200199} python_unwind_info_t ;
201200#endif
202201
Original file line number Diff line number Diff line change @@ -160,8 +160,6 @@ typedef struct {
160160
161161 void * py_frame_ptr ;
162162 __u8 py_offsets_id ;
163- __u16 py_version ; // Python version encoded as 0xMMmm (e.g. 3.11 -> 0x030B)
164- __u64 py_none_struct_addr ; // _Py_NoneStruct address (0 if < 3.13)
165163
166164 void * lua_L_ptr ;
167165 __u8 lua_is_jit ; // 0: Lua 5.x, 1: LuaJIT
@@ -208,8 +206,6 @@ void reset_unwind_state(unwind_state_t * state)
208206
209207 state -> py_frame_ptr = NULL ;
210208 state -> py_offsets_id = 0 ;
211- state -> py_version = 0 ;
212- state -> py_none_struct_addr = 0 ;
213209 state -> luajit_frame = NULL ;
214210 state -> luajit_bot = NULL ;
215211 state -> luajit_skip_depth = 0 ;
You can’t perform that action at this time.
0 commit comments