The OpenD Programming Language

_mm_realloc

Reallocate size bytes of memory, aligned to the alignment specified in alignment, and return a pointer to the newly allocated memory. Previous data is preserved if any.

IMPORTANT: size MUST be > 0.

_mm_free MUST be used to free memory that is allocated with _mm_malloc or _mm_realloc. Do NOT call _mm_realloc with size = 0.

nothrow @nogc nothrow @nogc
void*
_mm_realloc
(
void* aligned
,
size_t size
,
size_t alignment
)

Meta