Skip to main content

asdf_ndarray_copy_into

Function asdf_ndarray_copy_into 

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

Deep-copy an ndarray into caller-provided storage.

The copy owns its own data, so it may outlive the original and be written to a different file.

ยงSafety

src and dst must be valid asdf_ndarray_t values.