[Spice-devel] [PATCH spice-common 0/9] Miscellaneous code generation improvements

Frediano Ziglio fziglio at redhat.com
Sun Mar 3 19:10:21 UTC 2019


Part of the series already sent.

Frediano Ziglio (9):
  messages: Remove fields not used by the protocol
  codegen: Factor out a function to write output file
  codegen: Generate headers while generating code
  codegen: Allows to generate C declarations automatically
  Allow to generate C declarations for spice.proto
  Generate automatically most C message declarations
  codegen: Remove support for --ptrsize
  protocol: Add a dummy TunnelChannel
  codegen: Rename --prefix parameter to --suffix

 common/Makefile.am          |  22 +-
 common/client_marshallers.h |   2 +-
 common/marshaller.c         |  14 +-
 common/marshaller.h         |   2 +-
 common/meson.build          |  29 ++-
 common/messages.h           | 497 +-----------------------------------
 python_modules/codegen.py   |   2 +-
 python_modules/demarshal.py |  10 +-
 python_modules/marshal.py   |   6 +-
 python_modules/ptypes.py    |  82 ++++--
 spice.proto                 | 199 ++++++++-------
 spice_codegen.py            | 115 ++++++---
 12 files changed, 307 insertions(+), 673 deletions(-)

-- 
2.20.1



More information about the Spice-devel mailing list