Skip to main content

dispatch_function_call

Function dispatch_function_call 

Source
pub fn dispatch_function_call(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 calling a shell function by name on the live fusevm executor, with the full doshfunc (c:5823) scope wrap. C reaches the function through execshfunc (c:5540) off a wordcode Shfunc. Dispatch a shell-function call by name through the live executor (full doshfunc scope wrap). None when no executor / not a function.