Update document 10.EXT-REFERENCE-HANDLER.md (#5163)

The handler prototype did not match it's implementation

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo
2024-11-21 00:46:10 +08:00
committed by GitHub
parent f54f2d3a7b
commit 82ca949850
4 changed files with 21 additions and 55 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ jerryx_handler_assert (const jerry_call_info_t *call_info_p, /**< call informati
jerryx_print_backtrace (5);
jerry_port_fatal (JERRY_FATAL_FAILED_ASSERTION);
} /* jerryx_handler_assert_fatal */
} /* jerryx_handler_assert */
/**
* Expose garbage collector to scripts.
+1 -1
View File
@@ -190,7 +190,7 @@ jerryx_print_backtrace (unsigned depth)
}
jerry_value_free (backtrace_array);
} /* jerryx_handler_assert_fatal */
} /* jerryx_print_backtrace */
/**
* Print an unhandled exception value