Add support for printing messages to DDSI trace
NOTE: not tested against versions of Cyclone that don't have the feature Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
888235e96e
commit
fb8c08bd7f
5 changed files with 348 additions and 7 deletions
|
@ -34,3 +34,12 @@ cycdeser::cycdeser(const void * data_, size_t size_)
|
|||
lim(size_ - 4)
|
||||
{
|
||||
}
|
||||
|
||||
cycprint::cycprint(char * buf_, size_t bufsize_, const void * data_, size_t size_)
|
||||
: data(static_cast<const char *>(data_) + 4),
|
||||
pos(0),
|
||||
buf(buf_),
|
||||
bufsize(bufsize_)
|
||||
{
|
||||
static_cast<void>(size_);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue