Skip to main content

unregister_function

Function unregister_function 

Source
pub fn unregister_function(name: &str) -> bool
Expand description

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

No function of this name exists in Src/exec.c. This helper stands in for dropping a function from the fusevm executor’s compiled-chunk and source maps. C removes the node from shfunctab directly. Drop a function from both the compiled-chunk and source maps in the live executor. Returns true if either entry existed; false when no executor.