Function csp::memory::DllRealloc

Function Documentation

void *csp::memory::DllRealloc(void *Ptr, size_t NewSize, size_t Alignment = size_t(16))

Dll safe re-allocation of memory.

Parameters
  • Size – size_t : Size in bytes to allocate

  • Alignment – size_t : Alignment of data in memory. Defaults to 16

Returns

void* : Pointer to the start of the allocated memory