[PATCH spice-common 0/6] Generate C declarations automatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First patch is an already sent patch which conflict.
Other patches allows to declare C declarations (that were in
common/messages.h) automatically.
I added an attribute to:
- be compatible;
- allows to declare structure in different way than automatic
  ones;
- allows to use different headers (as draw.h).

Frediano Ziglio (6):
  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

 common/Makefile.am          |  22 +-
 common/client_marshallers.h |   2 +-
 common/meson.build          |  29 ++-
 common/messages.h           | 499 +-----------------------------------
 python_modules/ptypes.py    |  64 +++++
 spice.proto                 | 192 +++++++-------
 spice_codegen.py            | 105 ++++++--
 7 files changed, 284 insertions(+), 629 deletions(-)

-- 
2.20.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]