diff options
| author | Markus Armbruster <armbru@redhat.com> | 2017-08-24 10:46:07 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2017-09-04 13:09:13 +0200 |
| commit | 5b5f825d44306b18509cd10ba9ac6983e90d6e0f (patch) | |
| tree | 4eaa8543ba0c568929b6879ff239b70ddfcef056 /scripts/qapi-event.py | |
| parent | 1c236ba5319d6141964fddb38f1d942cebcaed05 (diff) | |
| download | focaccia-qemu-5b5f825d44306b18509cd10ba9ac6983e90d6e0f.tar.gz focaccia-qemu-5b5f825d44306b18509cd10ba9ac6983e90d6e0f.zip | |
qapi: Generate FOO_str() macro for QAPI enum FOO
The next commit will put it to use. May look pointless now, but we're going to change the FOO_lookup's type, and then it'll help. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1503564371-26090-13-git-send-email-armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'scripts/qapi-event.py')
| -rw-r--r-- | scripts/qapi-event.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qapi-event.py b/scripts/qapi-event.py index bcbef1035f..07b4b70199 100644 --- a/scripts/qapi-event.py +++ b/scripts/qapi-event.py @@ -217,6 +217,7 @@ fdef.write(mcgen(''' fdecl.write(mcgen(''' #include "qapi/error.h" +#include "qapi/util.h" #include "qapi/qmp/qdict.h" #include "%(prefix)sqapi-types.h" |