Skip to main content

JS_NewObjectClass

Function JS_NewObjectClass 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_NewObjectClass( ctx: *mut JsContext, class_id: c_int, ) -> JsValue
Expand description

JS_NewObjectClass: an instance of class_id with the prototype installed for it.

ยงSafety

ctx must be a live context.