Add parameter names to function declarations. (#1498)
It's generally considered a bad programming practice to have function declarations without parameter names. This is another legacy from the early days of the project. Fix in one go to minimize history disruption. Used a custom clang-tidy check to create the bulk of the change. JerryScript-DCO-1.0-Signed-off-by: Tilmann Scheller t.scheller@samsung.com
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
#include "jerry-api.h"
|
||||
|
||||
ecma_value_t
|
||||
jerry_dispatch_external_function (ecma_object_t *,
|
||||
ecma_external_pointer_t,
|
||||
ecma_value_t,
|
||||
const ecma_value_t *,
|
||||
ecma_length_t);
|
||||
jerry_dispatch_external_function (ecma_object_t *function_object_p,
|
||||
ecma_external_pointer_t handler_p,
|
||||
ecma_value_t this_arg_value,
|
||||
const ecma_value_t *arguments_list_p,
|
||||
ecma_length_t arguments_list_len);
|
||||
|
||||
void
|
||||
jerry_dispatch_object_free_callback (ecma_external_pointer_t, ecma_external_pointer_t);
|
||||
jerry_dispatch_object_free_callback (ecma_external_pointer_t freecb_p, ecma_external_pointer_t native_p);
|
||||
|
||||
#endif /* !JERRY_INTERNAL_H */
|
||||
|
||||
Reference in New Issue
Block a user