Skip to main content

JS_Call

Function JS_Call 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_Call( ctx: *mut JsContext, func_obj: JsValue, this_obj: JsValue, argc: c_int, argv: *const JsValue, ) -> JsValue
Expand description

JS_Call: call func_obj with this_obj as this.

ยงSafety

func_obj and this_obj must be live JSValues; argv must point at argc live ones.