Re: [Spice-devel] [PATCH spice-common 6/6] Generate automatically most C message declarations

2019-02-23 Thread Frediano Ziglio
> > So, I applied these patches, and generated the messages with the new > code and compared it to the old hand-coded message.h file. I had to re- > arrange a bunch of the newly-generated code to get a readable diff, but > I end up with the attached output. A few notable changes: > > - Quite a fe

Re: [Spice-devel] [PATCH spice-common 6/6] Generate automatically most C message declarations

2019-02-22 Thread Jonathon Jongsma
So, I applied these patches, and generated the messages with the new code and compared it to the old hand-coded message.h file. I had to re- arrange a bunch of the newly-generated code to get a readable diff, but I end up with the attached output. A few notable changes: - Quite a few fields have c

[Spice-devel] [PATCH spice-common 6/6] Generate automatically most C message declarations

2019-02-21 Thread Frediano Ziglio
Signed-off-by: Frediano Ziglio --- common/messages.h | 495 +- spice.proto | 192 +- 2 files changed, 102 insertions(+), 585 deletions(-) diff --git a/common/messages.h b/common/messages.h index aae3212..43d0661 100644 --- a/commo