Skip to main content

ContFn

Type Alias ContFn 

Source
pub type ContFn = unsafe extern "C" fn(*mut Machine, u64) -> i32;
Expand description

Uniform signature shared by every compiled predicate, continuation, and retry function — and by runtime-provided continuations. The uniform C-ABI prototype is what makes musttail transfers valid. Returns 0 = fail/exhausted (driver backtracks), 1 = stop (limit hit or final success).