Paolo Bonzini wrote:
This gives more freedom to define prototypes without dragging in
the whole header files.

Cc: Luiz Capitulino <lcapitul...@redhat.com>
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
 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;

This seems like a layering violation to me.

Regards,

Anthony Liguori


Reply via email to