summaryrefslogtreecommitdiffstats
path: root/include/qapi/qmp/json-streamer.h
diff options
context:
space:
mode:
authorMarc-André Lureau2018-08-23 18:39:59 +0200
committerMarkus Armbruster2018-08-24 20:26:37 +0200
commite8b19d7d7300366a1dd85273512657bbeab564ab (patch)
tree26227aef51ef6599071ab19151aafda25bf62fdd /include/qapi/qmp/json-streamer.h
parentjson: remove useless return value from lexer/parser (diff)
downloadqemu-e8b19d7d7300366a1dd85273512657bbeab564ab.tar.gz
qemu-e8b19d7d7300366a1dd85273512657bbeab564ab.tar.xz
qemu-e8b19d7d7300366a1dd85273512657bbeab564ab.zip
json-parser: simplify and avoid JSONParserContext allocation
parser_context_new/free() are only used from json_parser_parse(). We can fold the code there and avoid an allocation altogether. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20180719184111.5129-9-marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180823164025.12553-33-armbru@redhat.com>
Diffstat (limited to 'include/qapi/qmp/json-streamer.h')
0 files changed, 0 insertions, 0 deletions