29 #ifndef INCLUDED_AlignedMemoryC_h_GUID_A6BA9A9A_EF49_4FA7_0312_635E151919E7
30 #define INCLUDED_AlignedMemoryC_h_GUID_A6BA9A9A_EF49_4FA7_0312_635E151919E7
33 #include <osvr/Util/Export.h>
53 OSVR_UTIL_EXPORT
void *
void * osvrAlignedAlloc(size_t bytes, size_t alignment=OSVR_DEFAULT_ALIGN_SIZE)
Aligned allocation function, gives a pointer to a block of memory aligned to a memory boundary...
The default (and core-utilized) alignment of imaging buffers, etc.
void osvrAlignedFree(void *p)
Aligned deallocation function, uses the pointer to the original memory block to deallocate it...
Header providing basic C macros for defining API headers.