Function mozjs::rust::jsapi_wrapped::JS_TransplantObject

source ยท
pub unsafe fn JS_TransplantObject(
    cx: *mut JSContext,
    origobj: HandleObject<'_>,
    target: HandleObject<'_>,
) -> *mut JSObject