mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
8d3265b3d0
commit
a2731e08ee
3 changed files with 12 additions and 21 deletions
|
@ -31,7 +31,7 @@ typedef struct JSONMessageParser
|
|||
JSONLexer lexer;
|
||||
int brace_count;
|
||||
int bracket_count;
|
||||
GQueue *tokens;
|
||||
GQueue tokens;
|
||||
uint64_t token_size;
|
||||
} JSONMessageParser;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue