use crate::{
simics_exception, sys::SIM_register_context_handler, ConfClass, ContextHandlerInterface,
};
#[simics_exception]
pub fn register_context_handler(cls: *mut ConfClass, iface: *const ContextHandlerInterface) -> i32 {
unsafe { SIM_register_context_handler(cls, iface as *const _) }
}