| commit | d2a80d6bb3fdf319d28f25eb034b32a9f3da7334 | [log] [tgz] |
|---|---|---|
| author | Luiz Capitulino <lcapitulino@redhat.com> | Wed Sep 28 16:56:56 2011 -0300 |
| committer | Luiz Capitulino <lcapitulino@redhat.com> | Tue Oct 04 11:00:46 2011 -0300 |
| tree | 13f6ecba1af8d3e785f7dfcc94535b5cc6decca4 | |
| parent | e1bc2f7b3fb19ab2abcec3d5b15e045b00ae9da1 [diff] |
qapi: Don't use c_var() on enum strings Otherwise if we have something like 'foo-bar' in the schema, it will be generated as 'foo_bar' in the string lookup table. c_var() is good for C variables, but not for enum strings. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>