diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-08-12 15:42:07 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-08-23 08:13:22 +0000 |
commit | c497fbbef4637f602ca897cf18a184b32d374dac (patch) | |
tree | f7522dce847e03eb1e3ff665261169e7ca61b3d7 /src/qml/jsruntime/qv4typedarray_p.h | |
parent | abd32822d997976e994832239ae9939e4d1e0cf0 (diff) |
Implement %TypedArray%.of
Change-Id: Icad9c1bedef83be8c6124ca3456a57d528c18733
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4typedarray_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4typedarray_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4typedarray_p.h b/src/qml/jsruntime/qv4typedarray_p.h index 967d3235b2..06292b7f8d 100644 --- a/src/qml/jsruntime/qv4typedarray_p.h +++ b/src/qml/jsruntime/qv4typedarray_p.h @@ -150,6 +150,8 @@ struct IntrinsicTypedArrayCtor: FunctionObject static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *); static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc); + + static ReturnedValue method_of(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); }; struct TypedArrayCtor: FunctionObject |