ManaPlus
Macros
booldefines.h File Reference

(986a3bf)

#include "localconsts.h"

Go to the source code of this file.

Macros

#define defBoolEnum(name)
 
#define fromBool(val, name)    (val) ? true : false
 

Macro Definition Documentation

◆ defBoolEnum

#define defBoolEnum (   name)
Value:
const bool name##_true = true; \
const bool name##_false = false; \
typedef bool name

Definition at line 45 of file booldefines.h.

◆ fromBool

#define fromBool (   val,
  name 
)     (val) ? true : false

Definition at line 49 of file booldefines.h.