The OpenD Programming Language

_mm_realloc_discard

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

IMPORTANT: size MUST be > 0.

_mm_free MUST be used to free memory that is allocated with _mm_malloc or _mm_realloc.

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

Meta