[Qemu-devel] [PATCH 11/26] qapi: Don't use c_var() on enum strings

2011-10-05 Thread Luiz Capitulino
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 --- scripts/qapi-types.py |2 +- 1 files changed, 1 insertions(+), 1 deletions

[Qemu-devel] [PATCH 11/26] qapi: Don't use c_var() on enum strings

2011-09-30 Thread Luiz Capitulino
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 --- scripts/qapi-types.py |2 +- 1 files changed, 1 insertions(+), 1 deletions