Created
November 25, 2011 16:50
-
-
Save Geal/1393956 to your computer and use it in GitHub Desktop.
Macro displaying __FUNCTION__ and __LINE__ and concatenating its arguments
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
#define STR(x) #x | |
#define STR1(x) STR(x) | |
#define DEBUGME(a) OutputDebugStringA( "[DEBUG| " __FUNCTION__ ":" STR1(__LINE__) "] " a "\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment