TNeo  v1.07
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
tn_common_macros.h File Reference

Detailed Description

Macros that may be useful for any part of the kernel.

Note: only preprocessor macros allowed here, so that the file can be included in any source file (C, assembler, or whatever)

Definition in file tn_common_macros.h.

Go to the source code of this file.

Macros

#define _TN_STRINGIZE_LITERAL(x)   #x
 Macro that expands to string representation of its argument: for example,. More...
 
#define _TN_STRINGIZE_MACRO(x)   _TN_STRINGIZE_LITERAL(x)
 Macro that expands to string representation of its argument, which is allowed to be a macro: for example,. More...
 

Macro Definition Documentation

#define _TN_STRINGIZE_LITERAL (   x)    #x

Macro that expands to string representation of its argument: for example,.

expands to:

"5"

See also _TN_STRINGIZE_MACRO()

Definition at line 70 of file tn_common_macros.h.

#define _TN_STRINGIZE_MACRO (   x)    _TN_STRINGIZE_LITERAL(x)

Macro that expands to string representation of its argument, which is allowed to be a macro: for example,.

#define MY_VALUE 10
_TN_STRINGIZE_MACRO(MY_VALUE)

expands to:

"10"

Definition at line 88 of file tn_common_macros.h.