aboutsummaryrefslogtreecommitdiffstats
path: root/qv4ecmaobjects_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-12-07 23:57:35 -0800
committerSimon Hausmann <simon.hausmann@digia.com>2012-12-08 17:25:02 +0100
commit13ea451c4fad5925377f51fca1a8bdb35c4bc7f8 (patch)
tree68db3d829bfbbd93043ba6076bdffa56bced5470 /qv4ecmaobjects_p.h
parent759d70e8a4ef5d35385b3dbc6aed471f3480ea0e (diff)
Implement Object.create/defineProperty/defineProperties
Change-Id: I3a71597d012b5fb7d7a2f482f4a16431c71c1c22 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qv4ecmaobjects_p.h')
-rw-r--r--qv4ecmaobjects_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qv4ecmaobjects_p.h b/qv4ecmaobjects_p.h
index 02d7d8cf19..580363310d 100644
--- a/qv4ecmaobjects_p.h
+++ b/qv4ecmaobjects_p.h
@@ -83,6 +83,8 @@ struct ObjectPrototype: Object
static Value method_defineGetter(ExecutionContext *ctx);
static Value method_defineSetter(ExecutionContext *ctx);
+
+ static void toPropertyDescriptor(ExecutionContext *ctx, Value v, PropertyDescriptor *desc);
};
struct StringCtor: FunctionObject