Skip to main content

define_function

Function define_function 

Source
pub fn define_function(
    map: &mut HashMap<&'static str, FunctionSpec>,
    names: &[&'static str],
    node_type: &'static str,
    num_args: usize,
    handler: FunctionHandler,
)
Expand description

Helper to define a function with common defaults.