|0.1.8||Nov 9, 2020|
|0.1.7||Aug 14, 2020|
|0.1.4||Jul 21, 2020|
|0.1.1||Jun 27, 2020|
#61 in FFI
420 downloads per month
- be able to generate a single
ffi.dartfile that should contain all the C header bindings.
- Current Supported C Features
- Function Pointer (aka Callbacks)
- Simple Structs (NOTE: Nested structs is not supported yet, open a PR?)
- C Enums
Writing a High-Level Abstractions and idiomatic Dart Code for the FFI bindgens, we will leave that as a homework for the user :).
Make sure you have installed the dependencies:
- LLVM and clang
brew install llvm
Download a prebuild from here
you know what to do ;)
and then you could install the CLI from github releases or you could also use cargo to build it from source:
$ cargo install --force dart-bindgen --features cli
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: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.