aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4arrayobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-11-04 15:25:09 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-08 19:48:00 +0100
commit980e7fae0a010d519907a58ab891cc6ca94eb56a (patch)
tree3d0aec781e52b49beeaf3ef990e9196746fb6a06 /src/qml/jsruntime/qv4arrayobject_p.h
parentf3f86c5eaed6940c6b90132c811cbf04ff9a8e81 (diff)
Move Data of Variant and ArgumentsObject into Heap namespace
Change-Id: Id2092a15c9fb5341d9b5cf4a9ac7a978308e4174 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4arrayobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4arrayobject_p.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4arrayobject_p.h b/src/qml/jsruntime/qv4arrayobject_p.h
index 4c211701ce..cbb3c24bc2 100644
--- a/src/qml/jsruntime/qv4arrayobject_p.h
+++ b/src/qml/jsruntime/qv4arrayobject_p.h
@@ -41,13 +41,17 @@ QT_BEGIN_NAMESPACE
namespace QV4 {
+namespace Heap {
+
+struct ArrayCtor : FunctionObject {
+ ArrayCtor(QV4::ExecutionContext *scope);
+};
+
+}
+
struct ArrayCtor: FunctionObject
{
- struct Data : Heap::FunctionObject {
- Data(ExecutionContext *scope);
- };
-
- V4_OBJECT(FunctionObject)
+ V4_OBJECT2(ArrayCtor, FunctionObject)
static ReturnedValue construct(Managed *m, CallData *callData);
static ReturnedValue call(Managed *that, CallData *callData);