Include parser header content in library crate
This commit is contained in:
parent
6194dfc247
commit
d7bc61cada
2 changed files with 3 additions and 1 deletions
|
|
@ -21,6 +21,8 @@ use std::slice;
|
|||
use std::str;
|
||||
use std::u16;
|
||||
|
||||
pub const PARSER_HEADER: &'static str = include_str!("../include/tree_sitter/parser.h");
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[repr(transparent)]
|
||||
pub struct Language(*const ffi::TSLanguage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue