pub const fn create_function_spec(
name: &'static CStr,
func: JSNativeWrapper,
nargs: u16,
flags: PropertyFlags,
) -> JSFunctionSpecExpand description
Creates a function spec with the given name, native function, number of arguments and flags.