stumpless 2.2.0
Loading...
Searching...
No Matches
generator.h File Reference

Generic functionality to be used with STUMPLESS_FOREACH macros to allow for more generic definition of enumerations and to string functions. More...

Go to the source code of this file.

Macros

#define STUMPLESS_GENERATE_ENUM(NAME, VALUE)   NAME = ( VALUE ),
 Returns a definition of a symbol with the given name and value fit for use in an enum definition.
 

Detailed Description

Generic functionality to be used with STUMPLESS_FOREACH macros to allow for more generic definition of enumerations and to string functions.

Macro Definition Documentation

◆ STUMPLESS_GENERATE_ENUM

#define STUMPLESS_GENERATE_ENUM ( NAME,
VALUE )   NAME = ( VALUE ),

Returns a definition of a symbol with the given name and value fit for use in an enum definition.

Compatible with STUMPLESS_FOREACH_ macro functions such as STUMPLESS_FOREACH_FACILITY().

Since
release v2.0.0.