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
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