Make ping data @as_ptr to avoid copying data

This commit is contained in:
Alexander Larsson 2010-06-18 17:12:07 +02:00 committed by Marc-André Lureau
parent 98d3b1d5c3
commit 4b670111a0

View File

@ -111,7 +111,7 @@ channel BaseChannel {
message {
uint32 id;
uint64 timestamp;
uint8 data[] @end @ctype(uint8_t);
uint8 data[] @end @ctype(uint8_t) @as_ptr(data_len);
} ping;
message {