diff options
author | Ville Voutilainen <ville.voutilainen@qt.io> | 2019-12-09 08:56:35 +0200 |
---|---|---|
committer | Ville Voutilainen <ville.voutilainen@qt.io> | 2019-12-09 10:55:59 +0200 |
commit | 867209bbb3031c85fba62aba601dc22512aa3009 (patch) | |
tree | 49438593aa6530673ce93a1a36347c234a23304f /src/qml/jsruntime/qv4typedarray_p.h | |
parent | 3c4247e1e021b6bcc480afc0716e0231575d0501 (diff) |
Implement TypedArray.from
Task-number: QTBUG-80030
Change-Id: I2d4c30257f543d9d7013aaf394a2a0874eacb266
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4typedarray_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4typedarray_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4typedarray_p.h b/src/qml/jsruntime/qv4typedarray_p.h index 64792f23a2..65656e3389 100644 --- a/src/qml/jsruntime/qv4typedarray_p.h +++ b/src/qml/jsruntime/qv4typedarray_p.h @@ -181,6 +181,7 @@ struct IntrinsicTypedArrayCtor: FunctionObject static constexpr VTable::Call virtualCall = nullptr; static ReturnedValue method_of(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); + static ReturnedValue method_from(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); }; struct TypedArrayCtor: FunctionObject |