eĿlipsis
a language independent preprocessor
 
Loading...
Searching...
No Matches
ellipsis-increment.dirs File Reference

An eĿlipsis extension to increment a macro holding an integer. More...

Macros

#define VAR()
 The name of the macro to which we will assign.
 

Detailed Description

An eĿlipsis extension to increment a macro holding an integer.

Use this such as in

#include_directives 〈ellipsis-increment.dirs〉 \
__prefix__(bind VAR A)

If prior to this A() evaluates to the integer value 19 this assigns the token 20 to the macro A().

Macro Definition Documentation

◆ VAR

#define VAR ( )

The name of the macro to which we will assign.

Note that the macro is a functional macro. For its evaluation you have to add parentheses as in VAR().