pub type AdaptiveTrigger = *mut c_void;