commit | 6299659f54420955419c4995283f7dd770367939 | [log] [tgz] |
---|---|---|
author | Wenchao Xia <wenchaoqemu@gmail.com> | Tue Mar 04 18:44:35 2014 -0800 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Tue Mar 11 09:07:42 2014 -0400 |
tree | 744a4933677691056b7c8c1d6309e6e5eecfee3a | |
parent | b86b05ed60d8d49c5770851860d4e6b89c133e7e [diff] |
qapi script: code move for generate_enum_name() Later both qapi-types.py and qapi-visit.py need a common function for enum name generation. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>