Function libquickjspp_sys::JS_NewCFunction
source · pub unsafe fn JS_NewCFunction(
ctx: *mut JSContext,
func: *mut JSCFunction,
name: *const c_char,
length: c_int
) -> JSValue
Expand description
create a new Function based on a JSCFunction