From ec8f1f68d623ae68cc7d79e19067884532e3db6f Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 1 Nov 2014 23:04:20 +0100 Subject: Begin moving the data out of Managed objects We need to move the Data objects out of the Managed objects, to avoid lots of trouble because inner classes can't be forward declared in C++. Instead move them all into a Heap namespace. Change-Id: I736af60702b68a1759f4643aa16d64108693dea2 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4global_p.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4global_p.h') diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index 71f217395b..b1e1f3ada6 100644 --- a/src/qml/jsruntime/qv4global_p.h +++ b/src/qml/jsruntime/qv4global_p.h @@ -114,6 +114,10 @@ QT_BEGIN_NAMESPACE namespace QV4 { +namespace Heap { + struct Base; +} + class MemoryManager; struct String; struct Object; @@ -127,7 +131,6 @@ struct InternalClass; struct Property; struct Value; struct Lookup; -struct HeapObject; struct ArrayData; struct ManagedVTable; -- cgit v1.2.3