Michael Roth c664aef551 qapi: qapi-visit.py, fix list handling for union types
Currently we assume non-list types when generating visitor routines for
union types. This is broken, since values like ['Type'] need to mapped
to 'TypeList'.

We already have a type_name() function to handle this that we use for
generating struct visitors, so use that here as well.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2013-05-23 09:44:20 -04:00
..
2012-03-30 08:14:11 -05:00
2012-07-17 15:43:16 -05:00
2012-03-24 12:57:02 +00:00
2012-03-30 08:14:11 -05:00
2012-04-16 15:41:20 +02:00
2012-08-15 15:18:54 +01:00
2012-03-24 14:10:25 +00:00