Defines | |
#define | HEAP_ALLOC(type, var) |
#define HEAP_ALLOC | ( | type, | |||
var | ) |
Value:
m_eType = type; \ m_uData.sBuffer.nSize = sizeof( var ); \ m_uData.sBuffer.pBuffer = new int8[m_uData.sBuffer.nSize]; \ memcpy( m_uData.sBuffer.pBuffer, &var, m_uData.sBuffer.nSize );