Fixed 'C4028' compiler warnings. (#2881)

The formal paramters of some function definitions were different
from the declarations.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2019-05-21 09:17:10 +02:00
committed by GitHub
parent 0ba2d17faf
commit 8e39fbc46f
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -3309,7 +3309,7 @@ jerry_value_is_dataview (const jerry_value_t value) /**< value to check if it is
* TypeError if the object is not a DataView.
*/
jerry_value_t
jerry_get_dataview_buffer (jerry_value_t value, /**< DataView to get the arraybuffer from */
jerry_get_dataview_buffer (const jerry_value_t value, /**< DataView to get the arraybuffer from */
jerry_length_t *byte_offset, /**< [out] byteOffset property */
jerry_length_t *byte_length) /**< [out] byteLength property */
{
+5 -5
View File
@@ -116,18 +116,18 @@ typedef struct ecma_module_resolve_stack
} ecma_module_resolve_stack_t;
bool ecma_module_resolve_set_insert (ecma_module_resolve_set_t **set_p,
ecma_module_t *module_p,
ecma_string_t *export_name_p);
ecma_module_t * const module_p,
ecma_string_t * const export_name_p);
void ecma_module_resolve_set_cleanup (ecma_module_resolve_set_t *set_p);
void ecma_module_resolve_stack_push (ecma_module_resolve_stack_t **stack_p,
ecma_module_t *module_p,
ecma_string_t *export_name_p);
ecma_module_t * const module_p,
ecma_string_t * const export_name_p);
void ecma_module_resolve_stack_pop (ecma_module_resolve_stack_t **stack_p);
ecma_string_t *ecma_module_create_normalized_path (const uint8_t *char_p,
prop_length_t size);
ecma_module_t *ecma_module_find_or_create_module (ecma_string_t *path_p);
ecma_module_t *ecma_module_find_or_create_module (ecma_string_t * const path_p);
ecma_value_t ecma_module_connect_imports (void);
ecma_value_t ecma_module_parse_modules (void);