diff options
Diffstat (limited to 'src/v4/qv4object.h')
-rw-r--r-- | src/v4/qv4object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4object.h b/src/v4/qv4object.h index 2f2d7579a4..b24e270a26 100644 --- a/src/v4/qv4object.h +++ b/src/v4/qv4object.h @@ -178,7 +178,7 @@ struct Q_V4_EXPORT Object: Managed { /* The spec default: Writable: true, Enumerable: false, Configurable: true */ void defineDefaultProperty(String *name, Value value); void defineDefaultProperty(ExecutionContext *context, const QString &name, Value value); - void defineDefaultProperty(ExecutionContext *context, const QString &name, Value (*code)(CallContext *), int count = 0); + void defineDefaultProperty(ExecutionContext *context, const QString &name, Value (*code)(SimpleCallContext *), int count = 0); void defineDefaultProperty(ExecutionContext *context, const QString &name, Value (*code)(ExecutionContext *, Value, Value *, int), int argumentCount = 0); /* Fixed: Writable: false, Enumerable: false, Configurable: false */ void defineReadonlyProperty(ExecutionEngine *engine, const QString &name, Value value); |