Support BigInt64/BigUint64 typedarray creation from API (#4170)

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2020-08-28 13:14:40 +02:00
committed by GitHub
parent 9589771f7a
commit cd1c06510e
4 changed files with 92 additions and 13 deletions
+4 -1
View File
@@ -4551,7 +4551,10 @@ static jerry_typedarray_mapping_t jerry_typedarray_mappings[] =
#if ENABLED (JERRY_NUMBER_TYPE_FLOAT64)
TYPEDARRAY_ENTRY (FLOAT64, FLOAT64, 3),
#endif /* ENABLED (JERRY_NUMBER_TYPE_FLOAT64) */
#if ENABLED (JERRY_BUILTIN_BIGINT)
TYPEDARRAY_ENTRY (BIGINT64, BIGINT64, 3),
TYPEDARRAY_ENTRY (BIGUINT64, BIGUINT64, 3),
#endif /* ENABLED (JERRY_BUILTIN_BIGINT) */
#undef TYPEDARRAY_ENTRY
};