Activate generate_cstr bindgen option

This commit is contained in:
gwenn
2024-12-31 18:02:54 +01:00
parent 92fdc11fea
commit 2cf6807b08
5 changed files with 260 additions and 259 deletions

View File

@@ -533,6 +533,7 @@ mod bindings {
let mut bindings = bindgen::builder()
.default_macro_constant_type(bindgen::MacroTypeVariation::Signed)
.disable_nested_struct_naming()
.generate_cstr(true)
.trust_clang_mangling(false)
.header(header.clone())
.parse_callbacks(Box::new(SqliteTypeChooser));