Skip to main content

run_function_body

Function run_function_body 

Source
pub fn run_function_body(name: &str, args: &[String]) -> Option<i32>
Expand description

!!! WARNING: RUST-ONLY HELPER !!!

No function of this name exists in Src/exec.c. This helper stands in for running a function BODY on the live fusevm executor with no scope wrap, for callers that already entered doshfunc (c:5823). Body-only function dispatch (no doshfunc scope wrap) — call as the body_runner of a direct doshfunc(...) invocation to avoid the double-wrap of going back through dispatch_function_call. None when no executor.