Function nstd_core::nstd_core_mem_switch [−][src]
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.