rustdesk
2021-07-31 03:00:07 +08:00
parent 7282a462f4
commit 49dff161dd
3 changed files with 90 additions and 158 deletions

View File

@@ -47,9 +47,9 @@ fn generate_bindings(
) {
let mut b = bindgen::builder()
.header(ffi_header.to_str().unwrap())
.whitelist_type("^[vV].*")
.whitelist_var("^[vV].*")
.whitelist_function("^[vV].*")
.allowlist_type("^[vV].*")
.allowlist_var("^[vV].*")
.allowlist_function("^[vV].*")
.rustified_enum("^v.*")
.trust_clang_mangling(false)
.layout_tests(false) // breaks 32/64-bit compat