Alignment macros. Use for compiler compatibility
Data structure alignment
a - number of bytes to align to
Align m_Data to 16 bytes alignment boundary:
int DM_ALIGNED(16) m_Data;
Align a value to a boundary
x - value to align
a - alignment boundary
Align 24 to 16 alignment boundary. results is 32:
int result = DM_ALIGN(24, 16);