]> git.proxmox.com Git - qemu.git/commit
qapi: add qapi-types.py code generator
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Jul 2011 19:50:40 +0000 (14:50 -0500)
committerLuiz Capitulino <lcapitulino@gmail.com>
Thu, 21 Jul 2011 19:48:14 +0000 (16:48 -0300)
commitfb3182ce6e200a0fedc603d444034d6cbc3d3f0f
treea4393c8965c07483c9419fb532b4389396c7e580
parent0f923be25321a479405443f33c50c79ee9f5b628
qapi: add qapi-types.py code generator

This is the code generator for qapi types. It will generation the
following files:

  $(prefix)qapi-types.h - C types corresponding to types defined in
                          the schema you pass in
  $(prefix)qapi-types.c - Cleanup functions for the above C types

The $(prefix) is used to as a namespace to keep the generated code from
one schema/code-generation separated from others so code and be
generated from multiple schemas with clobbering previously created code.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
scripts/qapi-types.py [new file with mode: 0644]