Function script::dom::bindings::import::module::jsapi::ReleaseMappedArrayBufferContents

source ยท
pub unsafe extern "C" fn ReleaseMappedArrayBufferContents(
    contents: *mut c_void,
    length: usize,
)
Expand description

Release the allocated resource of mapped ArrayBuffer contents before the object is created. If a new object has been created by JS::NewMappedArrayBufferWithContents() with this content, then JS::DetachArrayBuffer() should be used instead to release the resource used by the object.