create_function_spec

Function create_function_spec 

Source
pub const fn create_function_spec(
    name: &'static CStr,
    func: JSNativeWrapper,
    nargs: u16,
    flags: PropertyFlags,
) -> JSFunctionSpec
Expand description

Creates a function spec with the given name, native function, number of arguments and flags.