|
ManaPlus
|
Go to the documentation of this file.
22 #ifndef ENUMS_SIMPLETYPES_ENUMDEFINES_H
23 #define ENUMS_SIMPLETYPES_ENUMDEFINES_H
29 #define enumStart(name) enum class name
30 #define enumStartT(name, type) enum class name : type
31 #define enumEnd(name) ; \
36 #define enumStart(name) \
41 #define enumStartT(name, type) \
46 #define enumEnd(name) \
49 typedef name::T name##T
53 #define enum2Start(name) \
58 #define enum2End(name) \
61 typedef name::T name##T