Pyro higlevel API
Macros
message.cpp File Reference

Macros

#define ARRAY_NAME(array)   reinterpret_cast<char*>(static_cast<DataArray_s*>(psArray)+1)
 
#define FIRST_CHUNK(array)   reinterpret_cast<Chunk_s*>(ARRAY_NAME((array)) + (psArray)->nNameLength)
 
#define CHUNK_DATA(chunk)   reinterpret_cast<uint8*>(static_cast<Chunk_s*>(chunk)+1)
 

Macro Definition Documentation

#define ARRAY_NAME (   array)    reinterpret_cast<char*>(static_cast<DataArray_s*>(psArray)+1)

Referenced by os::Message::GetName().

#define CHUNK_DATA (   chunk)    reinterpret_cast<uint8*>(static_cast<Chunk_s*>(chunk)+1)

Referenced by os::Message::FindData().

#define FIRST_CHUNK (   array)    reinterpret_cast<Chunk_s*>(ARRAY_NAME((array)) + (psArray)->nNameLength)