mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 19:09:35 +00: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:
@ -16,13 +16,6 @@
|
||||
|
||||
#include "qapi/qmp/json-lexer.h"
|
||||
|
||||
typedef struct JSONToken {
|
||||
int type;
|
||||
int x;
|
||||
int y;
|
||||
char str[];
|
||||
} JSONToken;
|
||||
|
||||
typedef struct JSONMessageParser
|
||||
{
|
||||
void (*emit)(void *opaque, QObject *json, Error *err);
|
||||
|
Reference in New Issue
Block a user