Function js::jsapi::JS_ReleaseMappedArrayBufferContents [] [src]

pub unsafe extern "C" fn JS_ReleaseMappedArrayBufferContents(
    contents: *mut c_void,
    length: usize
)

Release the allocated resource of mapped array buffer 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.