mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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:
parent
abb297ed44
commit
9f5c734d59
6 changed files with 16 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue