[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/7] forward declare all QObject subclasses in qobje
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 3/7] forward declare all QObject subclasses in qobject.h |
Date: |
Sat, 17 Oct 2009 09:55:32 +0200 |
This gives more freedom to define prototypes without dragging in
the whole header files.
Cc: Luiz Capitulino <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
qobject.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/qobject.h b/qobject.h
index 200644d..f5c78b2 100644
--- a/qobject.h
+++ b/qobject.h
@@ -44,6 +44,10 @@ typedef enum {
} qtype_code;
struct QObject;
+struct QInt;
+struct QString;
+struct QDict;
+struct QList;
typedef struct QType {
qtype_code code;
--
1.6.2.5
- [Qemu-devel] [PATCH 0/7] Add JSON enconding and formatted printing to QObject, Paolo Bonzini, 2009/10/17
- [Qemu-devel] [PATCH 1/7] add qemu_memdup, Paolo Bonzini, 2009/10/17
- [Qemu-devel] [PATCH 2/7] allow passing NULL to qobject_type, Paolo Bonzini, 2009/10/17
- [Qemu-devel] [PATCH 3/7] forward declare all QObject subclasses in qobject.h,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 4/7] add mutable qstring functions, Paolo Bonzini, 2009/10/17
- [Qemu-devel] [PATCH 6/7] add testsuite for qobject json encoder, Paolo Bonzini, 2009/10/17
- [Qemu-devel] [PATCH 5/7] add json encoder for qobjects, Paolo Bonzini, 2009/10/17
- [Qemu-devel] [PATCH 7/7] add formatted printing of QObjects, Paolo Bonzini, 2009/10/17