Macros
Collaboration diagram for Preprocessor - Stringize:

Macros

#define ASTRINGZ(x)   STRINGZ(x)
 Absolute stringize. More...
 
#define STRINGZ(x)   #x
 Stringize. More...
 

Detailed Description

Macro Definition Documentation

◆ ASTRINGZ

#define ASTRINGZ (   x)    STRINGZ(x)

Absolute stringize.

Stringize a preprocessing token, this token being allowed to be #defined.

No restriction of use if the token is #defined.

For example, writing ASTRINGZ(PIN0) anywhere with PIN0 #defined as A0 is equivalent to writing "A0".

Definition at line 69 of file stringz.h.

◆ STRINGZ

#define STRINGZ (   x)    #x

Stringize.

Stringize a preprocessing token, this token being allowed to be #defined.

May be used only within macros with the token passed as an argument if the token is #defined.

For example, writing STRINGZ(PIN) within a macro #defined by PIN_NAME(PIN) and invoked as PIN_NAME(PIN0) with PIN0 #defined as A0 is equivalent to writing "A0".

Definition at line 58 of file stringz.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07