Change ecma_length_t and jerry_api_length_t from uint16_t to uint32_t.

JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
Andrey Shitov
2015-06-29 18:37:27 +03:00
parent a0c5974ab8
commit c4b0cd2196
23 changed files with 74 additions and 81 deletions
+3 -3
View File
@@ -696,12 +696,12 @@ typedef double ecma_number_t;
*/
typedef struct
{
/** Compressed pointer to next chunk with collection's data */
mem_cpointer_t next_chunk_cp;
/** Number of elements in the collection */
ecma_length_t unit_number;
/** Compressed pointer to next chunk with collection's data */
mem_cpointer_t next_chunk_cp;
/** Place for the collection's data */
uint8_t data[ sizeof (uint64_t) - sizeof (mem_cpointer_t) - sizeof (ecma_length_t) ];
} ecma_collection_header_t;