Skip to main content

asdf_ndarray_data_dealloc

Function asdf_ndarray_data_dealloc 

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

Free a buffer from asdf_ndarray_data_alloc.

Calling this without a prior allocation is a no-op.

ยงSafety

ndarray must be null or a valid asdf_ndarray_t.