Re: [Spice-devel] [spice-common PATCH] test-marshallers.proto: ArrayMessage: make space for name

2019-08-13 Thread Frediano Ziglio
> > Do it by adding @end tag. > Without it the allocated memory has no space for 'name'. > > Also fix SpiceMsgMainArrayMessage tests/test-marshallers.h, > replacing int8_t* name with int8_t name[]. name[0] ? > This makes name an "in-structure" array with no pre-defined size > instead of a

[Spice-devel] [spice-common PATCH] test-marshallers.proto: ArrayMessage: make space for name

2019-08-13 Thread Uri Lublin
Do it by adding @end tag. Without it the allocated memory has no space for 'name'. Also fix SpiceMsgMainArrayMessage tests/test-marshallers.h, replacing int8_t* name with int8_t name[]. This makes name an "in-structure" array with no pre-defined size instead of a pointer. The size is defined by