diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-11-28 23:26:26 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-29 08:03:20 +0100 |
commit | feafa104981951aa1853055bdb8b1cf2ce1a508b (patch) | |
tree | 247546c5a3d63603993a0e6b9bd37b0db5221838 /qmljs_engine.h | |
parent | e75251e72bd435b508aef212cf5e399fdab59d28 (diff) |
Implement Object.keys and obj.proto.propertyIsEnumerable
Change-Id: I30df135ad95f24246e43553b2711ad1008319d56
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qmljs_engine.h')
-rw-r--r-- | qmljs_engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmljs_engine.h b/qmljs_engine.h index 54e303cd54..4ecc1daac8 100644 --- a/qmljs_engine.h +++ b/qmljs_engine.h @@ -166,8 +166,8 @@ struct ExecutionEngine Object *newFunctionObject(ExecutionContext *ctx); - Object *newArrayObject(); - Object *newArrayObject(const Array &value); + ArrayObject *newArrayObject(); + ArrayObject *newArrayObject(const Array &value); FunctionObject *newArrayCtor(ExecutionContext *ctx); Object *newDateObject(const Value &value); |