pub unsafe extern "C" fn JS_DefineFunction(
cx: *mut JSContext,
obj: Handle<*mut JSObject>,
name: *const i8,
call: Option<unsafe extern "C" fn(*mut JSContext, u32, *mut Value) -> bool>,
nargs: u32,
attrs: u32,
) -> *mut JSFunction