Skip to main content

wrap_object

Function wrap_object 

Source
unsafe fn wrap_object(
    cx: &mut JSContext,
    scope: &HandleObject<'_>,
    given_proto: Option<Handle<'_, *mut JSObject>>,
    raw: *const c_void,
    config: &WrapConfig,
    rval: MutableHandleObject<'_>,
)