aboutsummaryrefslogtreecommitdiff
path: root/include/qapi/qmp
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-08-23 18:40:17 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-08-24 20:26:37 +0200
commita2731e08ee8633fcdc2af944b8f8f315678f7669 (patch)
treefb052528d60996d51c6924c3bc4b9a5333dca038 /include/qapi/qmp
parent8d3265b3d00db1071d1d3bf8433b4818088fdeb5 (diff)
downloadqemu-a2731e08ee8633fcdc2af944b8f8f315678f7669.zip
qemu-a2731e08ee8633fcdc2af944b8f8f315678f7669.tar.gz
qemu-a2731e08ee8633fcdc2af944b8f8f315678f7669.tar.bz2
json: Unbox tokens queue in JSONMessageParser
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20180823164025.12553-51-armbru@redhat.com>
Diffstat (limited to 'include/qapi/qmp')
-rw-r--r--include/qapi/qmp/json-streamer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/qmp/json-streamer.h b/include/qapi/qmp/json-streamer.h
index e162fd0..d1d7fe2 100644
--- a/include/qapi/qmp/json-streamer.h
+++ b/include/qapi/qmp/json-streamer.h
@@ -31,7 +31,7 @@ typedef struct JSONMessageParser
JSONLexer lexer;
int brace_count;
int bracket_count;
- GQueue *tokens;
+ GQueue tokens;
uint64_t token_size;
} JSONMessageParser;