Implement container operators API function (#4697)

Basically re-opening and updating #4275

Co-authored-by: bence gabor kis <kisbg@inf.u-szeged.hu>
JerryScript-DCO-1.0-Signed-off-by: Bela Toth tbela@inf.u-szeged.hu

Co-authored-by: bence gabor kis <kisbg@inf.u-szeged.hu>
This commit is contained in:
Tóth Béla
2021-07-27 12:25:52 +02:00
committed by GitHub
parent d69fe41085
commit d99905aca6
6 changed files with 437 additions and 0 deletions
+4
View File
@@ -434,6 +434,10 @@ jerry_value_t jerry_create_container (jerry_container_type_t container_type,
jerry_length_t arguments_list_len);
jerry_container_type_t jerry_get_container_type (const jerry_value_t value);
jerry_value_t jerry_get_array_from_container (jerry_value_t value, bool *is_key_value_p);
jerry_value_t jerry_container_operation (jerry_container_operation_t operation,
jerry_value_t container,
jerry_value_t *arguments,
uint32_t arguments_number);
/**
* @}