Example #1
0
extern "C" _CRTRESTRICT void* __cdecl _aligned_realloc(
    void*  const block,
    size_t const size,
    size_t const alignment
    )
{
    #ifdef _DEBUG
    return _aligned_offset_realloc_dbg(block, size, alignment, 0, nullptr, 0);
    #else
    return _aligned_realloc_base(block, size, alignment);
    #endif
}
ALLOC_CALL void *__cdecl _aligned_realloc(void *memblock, size_t size, size_t align)
{
    return _aligned_realloc_base(memblock, size, align);
}