示例#1
0
extern "C" _CRTRESTRICT void* __cdecl _aligned_recalloc(
    void*  const block,
    size_t const count,
    size_t const size,
    size_t const alignment
    )
{
    #ifdef _DEBUG
    return _aligned_offset_recalloc_dbg(block, count, size, alignment, 0, nullptr, 0);
    #else
    return _aligned_recalloc_base(block, count, size, alignment);
    #endif
}
ALLOC_CALL void * __cdecl _aligned_recalloc( void * memblock, size_t count, size_t size, size_t align )
{
    return _aligned_recalloc_base(memblock, count * size, align);
}