Add classes to wrap LibJna native types

This commit is contained in:
Steve Myers
2021-06-21 17:01:53 -07:00
parent 3a5d4816ac
commit 9f29eb0e86
3 changed files with 40 additions and 173 deletions

View File

@@ -1,5 +1,6 @@
#![deny(unsafe_code)] /* No `unsafe` needed! */
mod error;
mod wallet;
/// The following test function is necessary for the header generation.
@@ -7,6 +8,7 @@ mod wallet;
#[test]
fn generate_headers() -> ::std::io::Result<()> {
::safer_ffi::headers::builder()
.with_guard("__RUST_BDK_FFI__")
.to_file("cc/bdk_ffi.h")?
.generate()
}