pub type StateTriggerBase = *mut c_void;