12 breaking releases
| 0.13.0 | Oct 25, 2021 |
|---|---|
| 0.11.0 | Oct 4, 2021 |
#39 in #generate-bindings
34 downloads per month
64KB
1.5K
SLoC
lib-ruby-parser-bindings
This crate contains shared scripts to build bindings to lib-ruby-parser.
Examples
use lib_ruby_parser_bindings::{generate, Options};
let options = Options {
pre_code: "#include \"stubs.h\"",
fn_attributes: "__attribute__((always_inline))",
..Default::default()
};
let contents = generate(&options);
std::fs::write("codegen/bindings.h", contents).unwrap();
Dependencies
~6–8MB
~160K SLoC