Function llg_matcher_compute_ff_tokens

pub unsafe extern "C" fn llg_matcher_compute_ff_tokens(
    matcher: &mut LlgMatcher,
    output: *mut u32,
    output_len: usize,
) -> i32
Expand description

Compute the fast-forward (forced) tokens for the current state. The result is written to output. Returns the number of tokens written to output (which can be 0) or -1 on error.

ยงSafety

This function should only be called from C code.