Typedef the subtypes of QObject in qemu/typedefs.h, too

This renders many inclusions of qapi/qmp/q*.h superfluous.  They'll be
dropped in the next few commits.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180201111846.21846-8-armbru@redhat.com>
This commit is contained in:
Markus Armbruster 2018-02-01 12:18:34 +01:00
parent abb297ed44
commit 9f5c734d59
6 changed files with 16 additions and 11 deletions

View file

@ -15,12 +15,12 @@
#include "qapi/qmp/qobject.h"
typedef struct QString {
struct QString {
QObject base;
char *string;
size_t length;
size_t capacity;
} QString;
};
QString *qstring_new(void);
QString *qstring_from_str(const char *str);