Function rquickjs::qjs::JS_NewCFunction2
source · pub unsafe extern "C" fn JS_NewCFunction2(
ctx: *mut JSContext,
func: Option<unsafe extern "C" fn(_: *mut JSContext, _: JSValue, _: i32, _: *mut JSValue) -> JSValue>,
name: *const i8,
length: i32,
cproto: u32,
magic: i32
) -> JSValue