• M
    qapi: add qapi-types.py code generator · fb3182ce
    Michael Roth 提交于
    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: NMichael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: NLuiz Capitulino <lcapitulino@gmail.com>
    fb3182ce
qapi-types.py 5.6 KB