aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4typedarray_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-08-14 20:41:55 +0200
committerLars Knoll <lars.knoll@qt.io>2018-08-23 08:13:45 +0000
commit1a92454c0e6d4b0d77294c0e4112594d8f53379e (patch)
treef52ad30db7922bca4fd30b8fb2c72fe167ee6ade /src/qml/jsruntime/qv4typedarray_p.h
parentc1ba78d79647b42e6846edd3de27ff767291d6ee (diff)
Implement %TypedArray%.prototype.map
Change-Id: Ifd2e4585cd3b9fedf2a2a4573c4f3ea68e0257fb 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4typedarray_p.h b/src/qml/jsruntime/qv4typedarray_p.h
index ddd2193e9f..9377d0501c 100644
--- a/src/qml/jsruntime/qv4typedarray_p.h
+++ b/src/qml/jsruntime/qv4typedarray_p.h
@@ -187,6 +187,7 @@ struct IntrinsicTypedArrayPrototype : Object
static ReturnedValue method_join(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_lastIndexOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
+ static ReturnedValue method_map(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_reduce(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_reduceRight(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_reverse(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);