pub unsafe extern "C" fn event_enable_debug_mode()