Skip to main content

asdf_ndarray_block

Function asdf_ndarray_block 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn asdf_ndarray_block( ndarray: *mut asdf_ndarray_t, ) -> *mut AsdfBlock
Expand description

The block underlying an array, or null when its data is inline.

The view is opened on first use and owned by the array, so it must not be closed by the caller; it is released with the array.

ยงSafety

ndarray must be null or a valid asdf_ndarray_t.