pub type StatesAndFlags = c_uint;