aboutsummaryrefslogtreecommitdiffstats
path: root/qv4ecmaobjects_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-10-29 15:37:02 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-31 16:57:24 +0100
commitddba8f6bb06f0f2312a8c070f8cf4a9e079c9ca7 (patch)
treef0553cd7dd4f8498f01788b4280709a1e9ef9669 /qv4ecmaobjects_p.h
parent950e4f70a31b5ab220a1d36cb492f8a22921ee84 (diff)
Conformant implementation of the object internal methods
See section 8.12 of the standard. This implements 8.12.1 - 8.12.7 and 8.12.9 Also gave these methods standard conformant names. They are marked as [[foo]] in the standard, which translates to __foo__ in our code. Change-Id: I1990d6c6dd24e929c23d5c51d36f1e2e0a0a3b63 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qv4ecmaobjects_p.h')
-rw-r--r--qv4ecmaobjects_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qv4ecmaobjects_p.h b/qv4ecmaobjects_p.h
index b0484047e9..6b20e27eb1 100644
--- a/qv4ecmaobjects_p.h
+++ b/qv4ecmaobjects_p.h
@@ -53,7 +53,7 @@ struct ObjectCtor: FunctionObject
virtual void construct(Context *ctx);
virtual void call(Context *ctx);
- virtual Value getProperty(Context *ctx, String *name);
+ virtual Value __get__(Context *ctx, String *name);
};
struct ObjectPrototype: Object