Skip to main content

init_cached_constructor

Function init_cached_constructor 

Source
unsafe fn init_cached_constructor(
    constructor: usize,
    cache: *mut ProtoOrIfaceArray,
    object: RootedGuard<'_, *mut JSObject>,
) -> RootedGuard<'_, *mut JSObject>
Expand description

SAFETY: cache is a non-null pointer to a valid ProtoOrIfaceArray object.