diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2014-11-04 15:34:56 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-08 19:48:10 +0100 |
commit | 04bf728d7d02c56f9f526bf0b71b31690a5e9e92 (patch) | |
tree | 61b8fcb6032a2b1018a6de27308cf4c3158f2fa4 /src/qml/jsruntime/qv4globalobject_p.h | |
parent | 980e7fae0a010d519907a58ab891cc6ca94eb56a (diff) |
Move Data of the builtin functions to the Heap namespace
Change-Id: I8a77fe3fa9b6538cf6c75817eae7dc34df8ab329
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4globalobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4globalobject_p.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4globalobject_p.h b/src/qml/jsruntime/qv4globalobject_p.h index b14364b127..176ae37300 100644 --- a/src/qml/jsruntime/qv4globalobject_p.h +++ b/src/qml/jsruntime/qv4globalobject_p.h @@ -40,13 +40,17 @@ QT_BEGIN_NAMESPACE namespace QV4 { +namespace Heap { + +struct EvalFunction : FunctionObject { + EvalFunction(QV4::ExecutionContext *scope); +}; + +} + struct Q_QML_EXPORT EvalFunction : FunctionObject { - struct Data : Heap::FunctionObject { - Data(ExecutionContext *scope); - }; - - V4_OBJECT(FunctionObject) + V4_OBJECT2(EvalFunction, FunctionObject) ReturnedValue evalCall(CallData *callData, bool directCall); |