Skip to main content

create_callback_interface_objects

Function create_callback_interface_objects 

Source
pub(crate) unsafe fn create_callback_interface_objects<D: DomTypes>(
    cx: &mut JSContext,
    init: CallbackInit,
    global: HandleObject<'_>,
    cache: *mut ProtoOrIfaceArray,
)
Expand description

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