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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user