diff options
author | László Langó <llango.u-szeged@partner.samsung.com> | 2016-05-13 14:09:31 +0200 |
---|---|---|
committer | László Langó <llango.u-szeged@partner.samsung.com> | 2016-05-20 16:01:33 +0200 |
commit | 92bb551d450b1f352da4461d00057e4882995e7c (patch) | |
tree | 2cacff992a43ca51104bf58ca9c6dd51d9c16267 /jerry-core/ecma/builtin-objects/ecma-builtin-helpers.c | |
parent | aaa3d2267759c4a25b1143cc14db12363aac261d (diff) |
Change 'mem' namspace to 'jmem'
The 'mem_' prefix is too general, so it might clash with
symbols in other libraries. Renamed the directory, file,
funtion and type names.
Related issue: #1052
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-core/ecma/builtin-objects/ecma-builtin-helpers.c')
-rw-r--r-- | jerry-core/ecma/builtin-objects/ecma-builtin-helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.c b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.c index fb0111e8..47a3323d 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.c +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers.c @@ -85,7 +85,7 @@ ecma_builtin_helper_object_to_string (const ecma_value_t this_arg) /**< this arg 'Null' or one of possible object's classes. The string with null character is maximum 19 characters long. */ const lit_utf8_size_t buffer_size = 19; - MEM_DEFINE_LOCAL_ARRAY (str_buffer, buffer_size, lit_utf8_byte_t); + JMEM_DEFINE_LOCAL_ARRAY (str_buffer, buffer_size, lit_utf8_byte_t); lit_utf8_byte_t *buffer_ptr = str_buffer; @@ -107,7 +107,7 @@ ecma_builtin_helper_object_to_string (const ecma_value_t this_arg) /**< this arg ret_string_p = ecma_new_ecma_string_from_utf8 (str_buffer, (lit_utf8_size_t) (buffer_ptr - str_buffer)); - MEM_FINALIZE_LOCAL_ARRAY (str_buffer); + JMEM_FINALIZE_LOCAL_ARRAY (str_buffer); return ecma_make_string_value (ret_string_p); } /* ecma_builtin_helper_object_to_string */ |