Fix parameter constness differences in function declarations and definitions (#2337)
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -125,7 +125,7 @@ ecma_builtin_array_prototype_object_to_string (ecma_value_t this_arg) /**< this
|
||||
* Returned value must be freed with ecma_free_value.
|
||||
*/
|
||||
static ecma_value_t
|
||||
ecma_builtin_array_prototype_object_to_locale_string (const ecma_value_t this_arg) /**< this argument */
|
||||
ecma_builtin_array_prototype_object_to_locale_string (ecma_value_t this_arg) /**< this argument */
|
||||
{
|
||||
ecma_value_t ret_value = ECMA_VALUE_EMPTY;
|
||||
|
||||
@@ -331,8 +331,8 @@ ecma_op_array_get_to_string_at_index (ecma_object_t *obj_p, /**< this object */
|
||||
* Returned value must be freed with ecma_free_value.
|
||||
*/
|
||||
static ecma_value_t
|
||||
ecma_builtin_array_prototype_join (const ecma_value_t this_arg, /**< this argument */
|
||||
const ecma_value_t separator_arg) /**< separator argument */
|
||||
ecma_builtin_array_prototype_join (ecma_value_t this_arg, /**< this argument */
|
||||
ecma_value_t separator_arg) /**< separator argument */
|
||||
{
|
||||
ecma_value_t ret_value = ECMA_VALUE_EMPTY;
|
||||
|
||||
|
||||
@@ -837,8 +837,8 @@ ecma_op_typedarray_get_separator_string (ecma_value_t separator) /**< possible s
|
||||
* Returned value must be freed with ecma_free_value.
|
||||
*/
|
||||
static ecma_value_t
|
||||
ecma_builtin_typedarray_prototype_join (const ecma_value_t this_arg, /**< this argument */
|
||||
const ecma_value_t separator_arg) /**< separator argument */
|
||||
ecma_builtin_typedarray_prototype_join (ecma_value_t this_arg, /**< this argument */
|
||||
ecma_value_t separator_arg) /**< separator argument */
|
||||
{
|
||||
/* 1. */
|
||||
ecma_value_t obj_value = ecma_op_to_object (this_arg);
|
||||
|
||||
@@ -108,7 +108,7 @@ lit_string_hash_t lit_utf8_string_hash_combine (lit_string_hash_t hash_basis, co
|
||||
/* code unit access */
|
||||
ecma_char_t lit_utf8_string_code_unit_at (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_buf_size,
|
||||
ecma_length_t code_unit_offset);
|
||||
lit_utf8_size_t lit_get_unicode_char_size_by_utf8_first_byte (lit_utf8_byte_t first_byte);
|
||||
lit_utf8_size_t lit_get_unicode_char_size_by_utf8_first_byte (const lit_utf8_byte_t first_byte);
|
||||
|
||||
/* conversion */
|
||||
lit_utf8_size_t lit_code_unit_to_utf8 (ecma_char_t code_unit, lit_utf8_byte_t *buf_p);
|
||||
|
||||
Reference in New Issue
Block a user