ManaPlus
|
#include "localconsts.h"
Go to the source code of this file.
Macros | |
#define | defIntEnum(name, type) |
#define | fromInt(val, name) static_cast<name>(val) |
#define | toInt(val, name) static_cast<name>(val) |
#define | defIntEnumNeg(name) const name name##_negOne = -1 |
#define defIntEnum | ( | name, | |
type | |||
) |
Definition at line 42 of file intdefines.h.
#define defIntEnumNeg | ( | name | ) | const name name##_negOne = -1 |
Definition at line 48 of file intdefines.h.
#define fromInt | ( | val, | |
name | |||
) | static_cast<name>(val) |
Definition at line 46 of file intdefines.h.
#define toInt | ( | val, | |
name | |||
) | static_cast<name>(val) |
Definition at line 47 of file intdefines.h.