Replace the jerry_value_set_error_flag function with jerry_create_error_from_value (#2367)

JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
This commit is contained in:
Istvan Miklos
2018-06-11 03:16:58 +02:00
committed by yichoi
parent be59d0a224
commit 2d0e37ff74
6 changed files with 83 additions and 33 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ 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);
void jerry_value_set_error_flag (jerry_value_t *value_p);
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);
/**