distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
STRINGIFY.h File Reference

STRINGIFY() macro. More...

Go to the source code of this file.

Macros

#define STRINGIFY_IMPLEMENTATION(a)   #a
 Implementation of STRINGIFY() More...
 
#define STRINGIFY(a)   STRINGIFY_IMPLEMENTATION(a)
 Stringifies the token. More...
 

Detailed Description

STRINGIFY() macro.

Author
Copyright (C) 2018 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Macro Definition Documentation

◆ STRINGIFY

#define STRINGIFY (   a)    STRINGIFY_IMPLEMENTATION(a)

Stringifies the token.

Parameters
[in]ais the token

◆ STRINGIFY_IMPLEMENTATION

#define STRINGIFY_IMPLEMENTATION (   a)    #a

Implementation of STRINGIFY()

Parameters
[in]ais the token