Function mozjs::jsapi::JS_DefineUCFunction

source ยท
pub unsafe extern "C" fn JS_DefineUCFunction(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    name: *const u16,
    namelen: usize,
    call: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
    nargs: u32,
    attrs: u32,
) -> *mut JSFunction