chore(ffi): remove enum name prefixes from all C enum values

This commit is contained in:
Andrew Hlynskyi 2023-09-03 06:47:27 +03:00
parent 5921b36a75
commit 9cc1daafca
6 changed files with 57 additions and 58 deletions

View file

@ -64,6 +64,7 @@ fn generate_bindings() {
.allowlist_function("^ts_.*")
.allowlist_var("^TREE_SITTER.*")
.no_copy(no_copy.join("|"))
.prepend_enum_name(false)
.generate()
.expect("Failed to generate bindings");