You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
702 B
42 lines
702 B
#ifndef ENUMS_H
|
|
#define ENUMS_H
|
|
|
|
// Enums
|
|
// =====
|
|
// Enums only have the item qualifier I and A,
|
|
// so their combinations are simple.
|
|
//
|
|
// Covered combinations
|
|
// ====================
|
|
// _IE = incomplete enum without an alias
|
|
// IE = incomplete enum
|
|
// AIE = alias of an incomplete enum
|
|
// _E = enum without an alias
|
|
// E = enum
|
|
// AE = alias of an enum
|
|
|
|
|
|
// _IE = incomplete enum without anb alias
|
|
enum _IE;
|
|
|
|
// IE = incomplete enum
|
|
// AIE = alias of an incomplete enum
|
|
typedef enum IE AIE;
|
|
|
|
// _E = enum without an alias
|
|
enum _E {
|
|
_E1,
|
|
_E2,
|
|
_E3
|
|
};
|
|
|
|
// E = enum
|
|
// AE = alias of an enum
|
|
typedef enum E {
|
|
E1,
|
|
E3,
|
|
E2,
|
|
} AE;
|
|
|
|
|
|
#endif //ENUMS_H
|
|
|