Rename the jerry_value_has_error_flag function. (#2290)
Rename the function to represent it's real functionality. 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
d672d1e71c
commit
ba2e49caaa
@@ -166,7 +166,7 @@ register_native_function (const char* name,
|
||||
jerry_release_value (global_obj_val);
|
||||
jerry_release_value (prop_name_val);
|
||||
|
||||
if (jerry_value_has_error_flag (res))
|
||||
if (jerry_value_is_error (res))
|
||||
{
|
||||
printf ("!!! register_native_function failed: [%s]\r\n", name);
|
||||
jerry_release_value (res);
|
||||
|
||||
Reference in New Issue
Block a user