mirror of
https://github.com/janet-lang/janet
synced 2025-11-11 21:14:16 +00:00
Add function versions of macro API bindings.
This should help address #81. Also hide janet_exit and janet_assert, as they are really meant for internal usage. I have not verified that this yet actually works with Rust's bindgen.
This commit is contained in:
@@ -634,6 +634,10 @@ void janet_parser_deinit(JanetParser *parser) {
|
||||
free(parser->states);
|
||||
}
|
||||
|
||||
int janet_parser_has_more(JanetParser *parser) {
|
||||
return parser->pending;
|
||||
}
|
||||
|
||||
/* C functions */
|
||||
|
||||
static int parsermark(void *p, size_t size) {
|
||||
|
||||
Reference in New Issue
Block a user