llg_matcher_validate_tokens

Function llg_matcher_validate_tokens 

#[unsafe(no_mangle)]
pub unsafe extern "C" fn llg_matcher_validate_tokens( matcher: &mut LlgMatcher, tokens: *const u32, n_tokens: usize, ) -> i32
Expand description

Check how many tokens can be consumed from the given tokens. Returns the number of tokens that can be consumed, or -1 on error.

ยงSafety

This function should only be called from C code.