pub type LimitStateCond = c_uint;