Rename 'this' to 'this_arg' in function arguments (#4476)
'this' is a restricted keyword in C++ so it's a good practice to avoid it's usage as an identifier. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -129,12 +129,12 @@ ecma_value_t ecma_promise_catch_finally_cb (const ecma_value_t function_obj,
|
||||
const uint32_t args_count);
|
||||
ecma_value_t
|
||||
ecma_promise_reject_handler (const ecma_value_t function,
|
||||
const ecma_value_t this,
|
||||
const ecma_value_t this_arg,
|
||||
const ecma_value_t argv[],
|
||||
const uint32_t argc);
|
||||
ecma_value_t
|
||||
ecma_promise_resolve_handler (const ecma_value_t function,
|
||||
const ecma_value_t this,
|
||||
const ecma_value_t this_arg,
|
||||
const ecma_value_t argv[],
|
||||
const uint32_t argc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user