Last active
August 29, 2015 13:57
-
-
Save acoomans/9422386 to your computer and use it in GitHub Desktop.
C Pre-processor macro Stringification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://gcc.gnu.org/onlinedocs/cpp/Stringification.html | |
#define xstr(s) str(s) | |
#define str(s) #s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment