23 inline void MemorySwap(
void *BlockA,
void *BlockB,
size_t Size)
25 u8 *a_swap = (
u8 *)BlockA, *b_swap = (
u8 *)BlockB;
26 u8 *a_end = a_swap + Size;
28 while (a_swap < a_end)
38#define SCL_MEMORY_SWAP(BlockA, BlockB) \
39 SCL_CORE_ASSERT(sizeof(*BlockA) == sizeof(*BlockB), \
40 "Swaping memory blocks are of diffrent size!"); \
41 MemorySwap((void*)BlockA,(void*)BlockB, sizeof(*BlockA))
Topology object basis class for mesh creating implementation module.
void MemorySwap(void *BlockA, void *BlockB, size_t Size)