aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4functionobject_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4functionobject_p.h b/src/qml/jsruntime/qv4functionobject_p.h
index fdfb1e6a2b..8b900db55d 100644
--- a/src/qml/jsruntime/qv4functionobject_p.h
+++ b/src/qml/jsruntime/qv4functionobject_p.h
@@ -108,6 +108,7 @@ struct Q_QML_EXPORT FunctionObject: Object {
Function *function;
FunctionObject(ExecutionContext *scope, String *name = 0);
+ FunctionObject(InternalClass *ic);
~FunctionObject();
Value newInstance();
@@ -144,7 +145,7 @@ protected:
struct FunctionPrototype: FunctionObject
{
- FunctionPrototype(ExecutionContext *ctx);
+ FunctionPrototype(InternalClass *ic);
void init(ExecutionContext *ctx, const Value &ctor);
static Value method_toString(SimpleCallContext *ctx);