system/rust/src/core/address.rs
0 → 100644
+26
−0
+17
−0
system/rust/src/core/ffi/types.h
0 → 100644
+36
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We create a simple AddressWithType object shared between C++ and Rust. We can't reuse any of the existing types, since the GD AddressWithType has a vtable and so does not have Rust-compatible layout, and the legacy tBLE_BD_ADDR has the wrong endianness. Bug: 272572974 Test: compiles Change-Id: I399bb1f232aeec4e7f2b635aef0f050bf5efb356