Function mozjs_sys::jsapi::JS::NewFunctionFromSpec1

source ·
pub unsafe extern "C" fn NewFunctionFromSpec1(
    cx: *mut JSContext,
    fs: *const JSFunctionSpec,
) -> *mut JSFunction
Expand description

Same as above, but without an id arg, for callers who don’t have the id already.