diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-05-23 12:32:52 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-23 17:52:56 +0000 |
commit | 5f23a667ef493f4dbaf7054bfda341b7a7d79609 (patch) | |
tree | 6599df71fa755a9ffec8df17f1c3c05e306290dd /src/qml/jsruntime/qv4objectproto_p.h | |
parent | 3de014db9ebdaa66d875bb8801261e39846ae5d0 (diff) |
Implement Object.setPrototypeOf()
Change-Id: I4488ea4855a52bc7fd386d2eec8c35def83f2785
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4objectproto_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4objectproto_p.h b/src/qml/jsruntime/qv4objectproto_p.h index 2b231d46ad..57aff87643 100644 --- a/src/qml/jsruntime/qv4objectproto_p.h +++ b/src/qml/jsruntime/qv4objectproto_p.h @@ -92,6 +92,7 @@ struct ObjectPrototype: Object static ReturnedValue method_isFrozen(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_isExtensible(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_keys(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); + static ReturnedValue method_setPrototypeOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_toString(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_toLocaleString(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); |