diff options
| author | Markus Armbruster | 2018-08-23 18:40:00 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2018-08-24 20:26:37 +0200 |
| commit | 037f2440888a22bd00ea0d8e37a1b7ed7d2bba88 (patch) | |
| tree | b0e02a19af0e29b8dd7bee52195aebef7844174a /include/exec/user | |
| parent | json-parser: simplify and avoid JSONParserContext allocation (diff) | |
| download | qemu-037f2440888a22bd00ea0d8e37a1b7ed7d2bba88.tar.gz qemu-037f2440888a22bd00ea0d8e37a1b7ed7d2bba88.tar.xz qemu-037f2440888a22bd00ea0d8e37a1b7ed7d2bba88.zip | |
json: Have lexer call streamer directly
json_lexer_init() takes the function to process a token as an
argument. It's always json_message_process_token(). Makes the code
harder to understand for no actual gain. Drop the indirection.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-34-armbru@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
