Add missing BigInt type for value type query API (#4362)

Extended the `jerry_type_t` enum with `JERRY_TYPE_BIGINT` and added it to
the `jerry_value_get_type`.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com
This commit is contained in:
Péter Gál
2020-12-15 11:17:11 +01:00
committed by GitHub
parent 9380d93416
commit fe216d4710
4 changed files with 35 additions and 0 deletions
+3
View File
@@ -27,9 +27,12 @@ Enum that contains JerryScript API value types:
- JERRY_TYPE_FUNCTION - function type
- JERRY_TYPE_ERROR - error/abort type
- JERRY_TYPE_SYMBOL - symbol type
- JERRY_TYPE_BIGINT - bigint type
*New in version 2.0*.
*Changed in [[NEXT_RELEASE]]*: Added `JERRY_TYPE_BIGINT` value.
## jerry_object_type_t
Enum that contains JerryScript **object** value types: