Function llg_stop_commit_token
pub extern "C" fn llg_stop_commit_token(
stop_ctrl: &mut LlgStopController,
token: u32,
output_len_p: &mut usize,
is_stopped_p: &mut bool,
) -> *const i8
Expand description
Commit a token to the stop-sequence controller. Returns a valid utf8 string to be returned to the user (which can be empty) and whether the sequence should be then finished. The string is valid until the next call to this function, or until the stop-sequence controller is freed.