Skip to main content

asdf_ndarray_copy

Function asdf_ndarray_copy 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn asdf_ndarray_copy( file: *mut AsdfFile, src: *const asdf_ndarray_t, ) -> *mut asdf_ndarray_t
Expand description

Deep-copy an ndarray into fresh storage.

ยงSafety

src must be a valid asdf_ndarray_t. The result must be released with asdf_ndarray_destroy.