Zth (libzth)
config

Classes

struct  zth::Config
 The configuration of Zth. More...
 

Macros

#define zth_config(name)
 Checks if the given zth::Config field is enabled. More...
 

Detailed Description

Macro Definition Documentation

◆ zth_config

#define zth_config (   name)

Checks if the given zth::Config field is enabled.

This function checks both the set zth::Config value and the environment.

Parameters
namethe field name within zth::Config (without zth::Config prefix)
Returns
a bool, indicating if the field is enabled
Examples
fsm14.cpp.

Definition at line 46 of file config.h.