#[unsafe(no_mangle)]pub unsafe extern "C" fn asdf_ndarray_data_alloc(
ndarray: *mut asdf_ndarray_t,
) -> *mut c_voidExpand description
Allocate a data buffer sized for the array.
Repeated calls return the same buffer. It is released by
asdf_ndarray_data_dealloc, not automatically.
ยงSafety
ndarray must be null or a valid asdf_ndarray_t.