Akos Kiss
25b0750756
Fix problems arising from incorrect use of various size types
...
E.g.,
* `ssize_t` was used where `lit_utf8_size_t` or `jerry_api_size_t`
would have been correct,
* `lit_utf8_size_t` was used where `ecma_length_t` would have been
correct.
Note, the patch also includes internal and public API changes:
* `ecma_string_to_utf8_string` does not return negative value if
output buffer is not large enough to contain the string; the
buffer is expected to be large enough. (`ecma_string_get_size`
can be used to retrieve the required size.)
* `jerry_api_string_to_char_buffer` adapts the same logic (and
`jerry_api_get_string_size` can be used to determine the
required size of the buffer).
Related issue: #942
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2016-03-08 15:22:07 +01:00
..
2016-03-01 13:11:43 +01:00
2015-08-14 10:51:44 +02:00
2016-02-17 13:52:51 +00:00
2015-07-07 17:14:07 +02:00
2016-03-03 05:18:28 -08:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-03-03 05:18:28 -08:00
2015-09-02 17:20:50 +02:00
2016-03-08 15:22:07 +01:00
2015-06-29 23:27:58 +03:00
2016-03-08 15:22:07 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-03-03 05:18:28 -08:00
2015-10-20 16:29:12 +02:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-03-08 15:22:07 +01:00
2015-11-11 10:48:35 +01:00
2016-03-08 12:13:55 +01:00
2016-02-17 13:52:51 +00:00
2016-03-08 15:22:07 +01:00
2016-02-18 14:05:36 +00:00
2016-03-03 05:18:28 -08:00
2016-03-08 15:22:07 +01:00
2015-07-07 04:39:39 -07:00
2016-03-01 13:11:43 +01:00
2015-06-29 23:27:58 +03:00
2016-03-03 05:18:28 -08:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-03-03 05:18:28 -08:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-03-03 05:18:28 -08:00
2015-08-24 10:10:09 +02:00
2016-03-01 13:54:14 +01:00
2015-07-30 15:25:53 +02:00
2016-03-08 15:22:07 +01:00
2016-03-01 13:54:14 +01:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-15 12:49:12 +01:00
2015-06-29 23:27:58 +03:00
2016-02-17 13:52:51 +00:00
2015-06-29 23:27:58 +03:00
2016-02-22 13:47:45 +01:00
2016-03-03 05:18:28 -08:00
2016-02-17 13:52:51 +00:00
2016-02-22 13:47:45 +01:00