mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-07 07:24:02 +00:00
Check the previous fix for "zero" attribute works correctly
(commit bc9df58162, "marshal: Fix a bug
with zero attribute").
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
22 lines
384 B
Protocol Buffer
22 lines
384 B
Protocol Buffer
channel TestChannel {
|
|
message {
|
|
uint8 dummy_byte; // so structure is not aligned
|
|
uint32 data_size;
|
|
uint64 *data[data_size] @marshall;
|
|
} ShortDataSubMarshall;
|
|
|
|
message {
|
|
int8 name[];
|
|
} ArrayMessage;
|
|
|
|
message {
|
|
uint8 res1 @zero;
|
|
uint16 n;
|
|
uint32 res2 @zero;
|
|
} Zeroes;
|
|
};
|
|
|
|
protocol Spice {
|
|
TestChannel main = 1;
|
|
};
|