aboutsummaryrefslogtreecommitdiffstats
path: root/qapi/qapi-visit-core.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-21qapi: allow sharing enum implementation across visitorsPaolo Bonzini1-0/+51
Most visitors will use the same code for enum parsing. Move it to the core. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2011-07-21qapi: add QAPI visitor coreMichael Roth1-0/+118
Base definitions/includes for Visiter interface used by generated visiter/marshalling code. Includes a GenericList type. Our lists require an embedded element. Since these types are generated, if you want to use them in a different type of data structure, there's no easy way to add another embedded element. The solution is to have non-embedded lists and that what this is. Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>