Use #[repr(C)] for enums