Skip to main content

check_native_call

Function check_native_call 

Source
pub fn check_native_call(
    cap: &Cap,
    table: &NativeTable,
    idx: NativeIdx,
) -> Result<(), NativeCallError>
Expand description

Host-side check against a Cap (not the interpreter path).

The VM uses check_native_gate on the per-flow snapshot. This helper is for embedders that hold a live Cap and want the same verdict.