Function mozjs::jsapi::JS::IterateRealmsInCompartment

source ยท
pub unsafe extern "C" fn IterateRealmsInCompartment(
    cx: *mut JSContext,
    compartment: *mut Compartment,
    data: *mut c_void,
    realmCallback: Option<unsafe extern "C" fn(_: *mut JSContext, _: *mut c_void, _: *mut Realm, _: *const AutoRequireNoGC)>,
)
Expand description

Like IterateRealms, but only iterates realms in |compartment|.