pub type JSTypedArrayBytesDeallocator = Option<unsafe extern "C" fn(bytes: *mut c_void, deallocatorContext: *mut c_void)>;Expand description
A function used to deallocate bytes passed to a Typed Array constructor. The function should take two arguments. The first is a pointer to the bytes that were originally passed to the Typed Array constructor. The second is a pointer to additional information desired at the time the bytes are to be freed.
Aliased Type§
pub enum JSTypedArrayBytesDeallocator {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut c_void)),
}