enumeration types changed to Convention=>C, removed unnecessary Ada.Unchecked_Conversion