Introducing helpers for construction and freeing of ecma-strings' collections.

This commit is contained in:
Ruben Ayrapetyan
2014-08-13 21:34:14 +04:00
parent 684c028954
commit daf1cfc9e6
2 changed files with 131 additions and 0 deletions
+5
View File
@@ -98,6 +98,11 @@ extern bool ecma_compare_zt_string_to_ecma_string (const ecma_char_t *string_p,
extern bool ecma_compare_ecma_string_to_ecma_string (const ecma_string_t *string1_p,
const ecma_string_t *string2_p);
/* ecma-helpers-strings-collection.c */
extern ecma_collection_header_t *ecma_new_strings_collection (ecma_string_t* string_ptrs_buffer[],
ecma_length_t strings_number);
extern void ecma_free_strings_collection (ecma_collection_header_t* header_p);
/* ecma-helpers.c */
extern ecma_object_t* ecma_create_object (ecma_object_t *prototype_object_p,
bool is_extensible,