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.
 
 

56 lines
927 B

#ifndef ENUMS_H
#define ENUMS_H
// Enums
// =====
// Enums can be combined with the item qualifiers I, A and (only enums) X
// 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
// _XE = anonymous enum without an alias
// AXE = alias of an anonymous 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;
// _XE = anonymous enum
enum {
_XE1,
_XE2,
_XE3
};
typedef enum {
AXE1,
AXE2,
AXE3
} AXE;
#endif //ENUMS_H