ffi: swap field order in PyCodeObject for 3.11

This commit is contained in:
David Hewitt 2022-08-18 07:56:59 +01:00
parent c4cf5fe6cf
commit 88ad288345
1 changed files with 1 additions and 1 deletions

View File

@ -76,8 +76,8 @@ pub struct PyCodeObject {
pub co_linetable: *mut PyObject,
pub co_weakreflist: *mut PyObject,
pub _co_code: *mut PyObject,
pub _co_firsttraceable: c_int,
pub _co_linearray: *mut c_char,
pub _co_firsttraceable: c_int,
pub co_extra: *mut c_void,
pub co_code_adaptive: [c_char; 1],
}