mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
json: Make JSONToken opaque outside json-parser.c
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20180823164025.12553-52-armbru@redhat.com>
This commit is contained in:
parent
a2731e08ee
commit
abe7c2067c
4 changed files with 24 additions and 14 deletions
|
@ -15,7 +15,11 @@
|
|||
#define QEMU_JSON_PARSER_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qapi/qmp/json-lexer.h"
|
||||
|
||||
typedef struct JSONToken JSONToken;
|
||||
|
||||
JSONToken *json_token(JSONTokenType type, int x, int y, GString *tokstr);
|
||||
QObject *json_parser_parse(GQueue *tokens, va_list *ap, Error **errp);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue