Pyro higlevel API
Macros
variant.cpp File Reference

Macros

#define HEAP_ALLOC(type, var)
 

Macro Definition Documentation

#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 );

Referenced by os::Variant::SetColor32(), os::Variant::SetIPoint(), os::Variant::SetIRect(), os::Variant::SetPoint(), os::Variant::SetRect(), and os::Variant::Variant().