Add an API function to calculate the UTF-8 encoded string length from Jerry string. (#1460)

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
Robert Sipka
2016-12-01 10:51:23 +01:00
committed by GitHub
parent 958344ee16
commit 23cf7fd177
8 changed files with 160 additions and 11 deletions
+1
View File
@@ -210,6 +210,7 @@ double jerry_get_number_value (const jerry_value_t);
jerry_size_t jerry_get_string_size (const jerry_value_t);
jerry_size_t jerry_get_utf8_string_size (const jerry_value_t);
jerry_length_t jerry_get_string_length (const jerry_value_t);
jerry_length_t jerry_get_utf8_string_length (const jerry_value_t);
jerry_size_t jerry_string_to_char_buffer (const jerry_value_t, jerry_char_t *, jerry_size_t);
/**