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