0ad/source/lib/sysdep/rtl.h
janwas 2382899a87 add system-specific AllocateAligned call (because _mm_malloc isnt as portable as hoped)
("RTL" directly has been added to sysdep - requires update of workspace)

This was SVN commit r6156.
2008-06-29 10:30:33 +00:00

18 lines
527 B
C

/**
* =========================================================================
* File : rtl.h
* Project : 0 A.D.
* Description : functions specific to the toolset's runtime library
* =========================================================================
*/
// license: GPL; see lib/license.txt
#ifndef INCLUDED_RTL
#define INCLUDED_RTL
LIB_API void* rtl_AllocateAligned(size_t size, size_t alignment);
LIB_API void rtl_FreeAligned(void* alignedPointer);
#endif // #ifndef INCLUDED_RTL