A tool for generating Dart FFI bindings to C Header file.
- be able to generate a single
ffi.dart
file that should contain all the C header bindings. - Current Supported C Features
- Functions
- Function Pointer (aka Callbacks)
- Simple Structs (NOTE: Nested structs is not supported yet, open a PR?)
Writing a High-Level Abstractions and idiomatic Dart Code for the FFI bindgens, we will leave that as a homework for the user :).
This crate uses #![deny(unsafe_code)]
to ensure everything is implemented in
100% Safe Rust.
Want to join us? Check out our "Contributing" guide and take a look at some of these issues:
Licensed under Apache v2.0 license.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.