diff options
| author | Markus Armbruster <armbru@redhat.com> | 2015-09-16 13:06:24 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2015-09-21 09:56:49 +0200 |
| commit | 28770e057f265a4e70bcbdfc2447cce7b5f2dc19 (patch) | |
| tree | e0da3cb258bdbb19e46ab4868cd887dd064ee3db /scripts/qapi-types.py | |
| parent | 6c2f9a15dfc8c18ba94defb0f819109902a817cb (diff) | |
| download | focaccia-qemu-28770e057f265a4e70bcbdfc2447cce7b5f2dc19.tar.gz focaccia-qemu-28770e057f265a4e70bcbdfc2447cce7b5f2dc19.zip | |
qapi: Introduce a first class 'any' type
It's first class, because unlike '**', it actually works, i.e. doesn't require 'gen': false. '**' will go away next. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
| -rw-r--r-- | scripts/qapi-types.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py index d1fee207e5..b292682df6 100644 --- a/scripts/qapi-types.py +++ b/scripts/qapi-types.py @@ -327,6 +327,7 @@ fdef.write(mcgen(''' fdecl.write(mcgen(''' #include <stdbool.h> #include <stdint.h> +#include "qapi/qmp/qobject.h" ''')) schema = QAPISchema(input_file) |