-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update API for invocation of functions and constructors #188
Conversation
9c84ba5
to
5da7d7f
Compare
Good to me. |
@galpeter, could you review, please? |
jerry_api_convert_ecma_value_to_api_value (retval_p, type_error_value); | ||
|
||
ecma_deref_object (type_error_obj_p); | ||
} /* jerry_api_throw_type_error */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment does not match the name of the method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
5da7d7f
to
f625f1e
Compare
@galpeter, thank you for note. |
@ruben-ayrapetyan, looks good to me. |
f625f1e
to
17c7c2f
Compare
|
With the change, if exception is thrown in `jerry_api_function_call` and `jerry_api_construct_object`, the exception object is returned to the caller. JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
17c7c2f
to
5315677
Compare
With the change, if exception is thrown in
jerry_api_function_call
andjerry_api_construct_object
, the exception object is returned to the caller.Related issue: #181