Function nstd_core::nstd_core_mem_switch[][src]

pub unsafe extern "C" fn nstd_core_mem_switch(
    ptr1: *mut c_void,
    ptr2: *mut c_void,
    size: usize
)
Expand description

Moves memory from *ptr1 to *ptr2 and vice versa. Parameters: void *const ptr1 - First pointer to memory to swap. void *const ptr2 - Second pointer to memory to swap. const NSTDUSize size - Number of bytes to swap.