Skip to content

Commit 767e601

Browse files
committed
Expose rbs_parse_inline_{leading,trailing}_annotation in ruby-rbs-sys
Add the two inline annotation parser functions to the bindgen allowlist so they are available as FFI bindings in ruby-rbs-sys.
1 parent 06f1a6e commit 767e601

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rust/ruby-rbs-sys/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ fn generate_bindings(include_path: &Path) -> Result<bindgen::Bindings, Box<dyn E
162162
.allowlist_function("rbs_parse_signature")
163163
.allowlist_function("rbs_parser_free")
164164
.allowlist_function("rbs_parser_new")
165+
.allowlist_function("rbs_parse_inline_leading_annotation")
166+
.allowlist_function("rbs_parse_inline_trailing_annotation")
165167
// String functions
166168
.allowlist_function("rbs_string_new")
167169
// Location functions

0 commit comments

Comments
 (0)