rust-bindgen
https://github.com/rust-lang/rust-bindgen
Rust
Automatically generates Rust FFI bindings to C (and some C++) libraries.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported2 Subscribers
Add a CodeTriage badge to rust-bindgen
Help out
- Issues
- Option to use *mut objc::runtime::Object
- File decode support
- Add Option return types to Objective-c for nullability attributes
- Option to output opaque type as `c_void`
- Duplicate definitions with forward declared pointer types
- `.clang_arg("-x c++")` causes failure in `generate`
- bindgen shouldn't generate f32 for c floats
- the name <whatever> is defined multiple times + cannot find `T` in this scope
- bindgen does not generate destructors if the class inherits a virtual destructor
- [c++] Consider implementing Drop for types with destructors
- Docs
- Rust not yet supported