lib-ruby-parser-bindings

Crates.iolib-ruby-parser-bindings
lib.rslib-ruby-parser-bindings
version0.13.0
sourcesrc
created_at2021-08-23 17:51:14.740975
updated_at2021-10-25 14:11:25.745274
descriptionTools to generate bindings for lib-ruby-parser
homepage
repositoryhttps://github.com/lib-ruby-parser/bindings
max_upload_size
id441303
size64,740
Ilya Bylich (iliabylich)

documentation

README

lib-ruby-parser-bindings

test unsafe forbidden Crates.io MIT Licence dependency status Docs

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();
Commit count: 0

cargo fmt