We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ffi-check
_PyCoLineInstrumentationData
1 parent a177916 commit e876f17Copy full SHA for e876f17
pyo3-ffi-check/macro/src/lib.rs
@@ -62,6 +62,16 @@ pub fn for_all_structs(input: proc_macro::TokenStream) -> proc_macro::TokenStrea
62
continue;
63
}
64
65
+ if struct_name == "_PyCoLineInstrumentationData"
66
+ && pyo3_build_config::get().version == PY_3_13
67
+ {
68
+ // private type, fields changed name in 3.13.2 -> 3.13.3
69
+ //
70
+ // PyO3 0.25 will remove this struct, for 0.24 we don't really care the names
71
+ // changed, the size stayed the same.
72
+ continue;
73
+ }
74
+
75
let struct_ident = Ident::new(struct_name, Span::call_site());
76
output.extend(quote!(#macro_name!(#struct_ident);));
77
0 commit comments