feat: expose the allocator and array header files for external scanners
This commit is contained in:
parent
52d69790f3
commit
f1eecf9786
12 changed files with 326 additions and 82 deletions
|
|
@ -44,6 +44,8 @@ pub const LANGUAGE_VERSION: usize = ffi::TREE_SITTER_LANGUAGE_VERSION as usize;
|
|||
pub const MIN_COMPATIBLE_LANGUAGE_VERSION: usize =
|
||||
ffi::TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION as usize;
|
||||
|
||||
pub const ALLOC_HEADER: &str = include_str!("../../cli/src/generate/templates/alloc.h");
|
||||
pub const ARRAY_HEADER: &str = include_str!("../src/array.h");
|
||||
pub const PARSER_HEADER: &str = include_str!("../src/parser.h");
|
||||
|
||||
/// An opaque object that defines how to parse a particular language. The code for each
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue