Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9356291e authored by Ying Hsu's avatar Ying Hsu
Browse files

floss: Fix FFI-safe warnings about RawAddress and Uuid

Some methods of the class RawAddress and Uuid are not FFI-safe and
are not used by topshim, so we exclude them from bindgen to avoid
FFI-safe warnings.

Bug: 243756536
Tag: #floss
Test: emerge and check build log for RawAddress and Uuid
Change-Id: I9b80be40177fc8694af18f695742bde03f966aa9
parent 38f79a8a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -52,6 +52,8 @@ fn main() {
        .clang_args(clang_args)
        .enable_cxx_namespaces()
        .size_t_is_usize(true)
        .blocklist_function("RawAddress_.*")
        .blocklist_function(".*Uuid_.*")
        .allowlist_type("(bt_|bthh_|btgatt_|btsdp|bluetooth_sdp|btsock_|bthf_).*")
        .allowlist_type("sock_connect_signal_t")
        .allowlist_function("(bt_|bthh_|btgatt_|btsdp).*")