Remove jerry_get_boolean_value (#4685)

JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi csgergo92@gmail.com
This commit is contained in:
Gergo Csizi
2021-06-24 15:40:14 +02:00
committed by GitHub
parent 6de17b204e
commit 8f71871a39
40 changed files with 128 additions and 193 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ NAME ## _handler (const jerry_call_info_t *call_info_p __UNUSED__, \
DELCARE_HANDLER(assert) {
if (args_cnt == 1
&& jerry_value_is_boolean (args_p[0])
&& jerry_get_boolean_value (args_p[0]))
&& jerry_value_is_true (args_p[0]))
{
printf (">> Jerry assert true\r\n");
return jerry_create_boolean (true);