/* Unregisters a callback. 
Unregisters a callback function implemented by the user. The callback should be disabled before it is unregistered. */
enum status_code tcc_unregister_callback(struct tcc_module *const module, const enum tcc_callback callback_type)
/* Unregisters a callback. 
Unregisters a callback function implemented by the user. The callback should be disabled before it is unregistered. */
enum status_code tcc_unregister_callback(struct tcc_module *const module, const enum tcc_callback callback_type)
{
	Assert(module);
	module->callback[callback_type] = NULL;
	module->register_callback_mask &= ~_tcc_intflag[callback_type];
	return STATUS_OK;
}