Skip to main content

JS_CallConstructor

Function JS_CallConstructor 

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

JS_CallConstructor: new func_obj(...).

ยงSafety

func_obj must be live; argv must point at argc live values.