]> Git Repo - qemu.git/commit
json: Have lexer call streamer directly
authorMarkus Armbruster <[email protected]>
Thu, 23 Aug 2018 16:40:00 +0000 (18:40 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 24 Aug 2018 18:26:37 +0000 (20:26 +0200)
commit037f2440888a22bd00ea0d8e37a1b7ed7d2bba88
treeb0e02a19af0e29b8dd7bee52195aebef7844174a
parente8b19d7d7300366a1dd85273512657bbeab564ab
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <20180823164025[email protected]>
include/qapi/qmp/json-lexer.h
include/qapi/qmp/json-streamer.h
qobject/json-lexer.c
qobject/json-streamer.c
This page took 0.0221 seconds and 4 git commands to generate.