Exemplo n.º 1
0
extern "C" _CRTRESTRICT void* __cdecl _aligned_malloc(
    size_t const size,
    size_t const alignment
    )
{
    #ifdef _DEBUG
    return _aligned_offset_malloc_dbg(size, alignment, 0, nullptr, 0);
    #else
    return _aligned_malloc_base(size, alignment);
    #endif
}
Exemplo n.º 2
0
// aligned
ALLOC_CALL void * __cdecl _aligned_malloc( size_t size, size_t align )
{
	return _aligned_malloc_base(size, align);
}