Rework external function handlers (#4599)
Instead of a fixed number of arguments, a call info structure is passed to the handlers, which can be extended in the future without breaknig the API. This structure holds new.target value, so its getter function is removed. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -37,8 +37,7 @@ ecma_proxy_create_revocable (ecma_value_t target,
|
||||
ecma_value_t handler);
|
||||
|
||||
ecma_value_t
|
||||
ecma_proxy_revoke_cb (const ecma_value_t function_obj,
|
||||
const ecma_value_t this_val,
|
||||
ecma_proxy_revoke_cb (ecma_object_t *function_obj_p,
|
||||
const ecma_value_t args_p[],
|
||||
const uint32_t args_count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user