Remove jerry_reg_err_callback API function
Discussions on Termination Port API point in a different direction than what's already in the API. Moreover, since the function has been throwing unimplemented assert error since its introduction, we should remove it from the code base. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -1712,17 +1712,6 @@ jerry_is_abort_on_fail (void)
|
||||
return ((jerry_flags & JERRY_FLAG_ABORT_ON_FAIL) != 0);
|
||||
} /* jerry_is_abort_on_fail */
|
||||
|
||||
/**
|
||||
* Register Jerry's fatal error callback
|
||||
*/
|
||||
void
|
||||
jerry_reg_err_callback (jerry_error_callback_t callback) /**< pointer to callback function */
|
||||
{
|
||||
jerry_assert_api_available ();
|
||||
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS ("Error callback is not implemented", callback);
|
||||
} /* jerry_reg_err_callback */
|
||||
|
||||
/**
|
||||
* Parse script for specified context
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user