feat(lib): support no_std
This commit is contained in:
parent
1c7b518b9d
commit
d13d7235d2
8 changed files with 101 additions and 94 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#![no_std]
|
||||
/// LanguageFn wraps a C function that returns a pointer to a tree-sitter grammer.
|
||||
#[repr(transparent)]
|
||||
pub struct LanguageFn(unsafe extern "C" fn() -> *const ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue