extern "C" void* __wrap_memalign(size_t Alignment, size_t Size)
{
extern void* __real_memalign(size_t,size_t);
return __real_memalign(Size, Alignment);
}
(Thanks Graham Wihlidal)
Epic failures in the game development field.
This blog covers funny/weird issues and bugs from games that happened during development.
Send your own contributions to igetyourfail at repi.se (can be anonymous if specified)
extern "C" void* __wrap_memalign(size_t Alignment, size_t Size)
{
extern void* __real_memalign(size_t,size_t);
return __real_memalign(Size, Alignment);
}
// As long as all calls to this class are made from the same thread this
class is thread safe.