Replace jerry_value_set_abort_flag with jerry_create_abort_from_value (#2411)
Replaced the function, added some tests for it. Also changed the functions order to alphabetical. JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
34c081095a
commit
b9f2b1cf25
@@ -379,9 +379,9 @@ bool jerry_is_feature_enabled (const jerry_feature_t feature);
|
||||
/**
|
||||
* Error manipulation functions.
|
||||
*/
|
||||
jerry_value_t jerry_get_value_from_error (jerry_value_t value, bool release);
|
||||
jerry_value_t jerry_create_abort_from_value (jerry_value_t value, bool release);
|
||||
jerry_value_t jerry_create_error_from_value (jerry_value_t value, bool release);
|
||||
void jerry_value_set_abort_flag (jerry_value_t *value_p);
|
||||
jerry_value_t jerry_get_value_from_error (jerry_value_t value, bool release);
|
||||
|
||||
/**
|
||||
* Error object function(s).
|
||||
|
||||
Reference in New Issue
Block a user