Function mozjs::jsapi::JS_NewGlobalObject

source ยท
pub unsafe extern "C" fn JS_NewGlobalObject(
    cx: *mut JSContext,
    clasp: *const JSClass,
    principals: *mut JSPrincipals,
    hookOption: OnNewGlobalHookOption,
    options: *const RealmOptions,
) -> *mut JSObject