Skip to content
  • Michael Roth's avatar
    06d64c62
    qapi: add qapi-visit.py code generator · 06d64c62
    Michael Roth authored
    
    
    This is the code generator for qapi visiter functions used to
    marshal/unmarshal/dealloc qapi types. It generates the following 2
    files:
    
      $(prefix)qapi-visit.c: visiter function for a particular c type, used
                             to automagically convert qobjects into the
                             corresponding C type and vice-versa, and well
                             as for deallocation memory for an existing C
                             type
    
      $(prefix)qapi-visit.h: declarations for previously mentioned visiter
                             functions
    
    $(prefix) is used as decribed for qapi-types.py
    
    Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: default avatarLuiz Capitulino <lcapitulino@gmail.com>
    06d64c62
    qapi: add qapi-visit.py code generator
    Michael Roth authored
    
    
    This is the code generator for qapi visiter functions used to
    marshal/unmarshal/dealloc qapi types. It generates the following 2
    files:
    
      $(prefix)qapi-visit.c: visiter function for a particular c type, used
                             to automagically convert qobjects into the
                             corresponding C type and vice-versa, and well
                             as for deallocation memory for an existing C
                             type
    
      $(prefix)qapi-visit.h: declarations for previously mentioned visiter
                             functions
    
    $(prefix) is used as decribed for qapi-types.py
    
    Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
    Signed-off-by: default avatarLuiz Capitulino <lcapitulino@gmail.com>
Loading