Created
April 4, 2016 06:51
-
-
Save 0xItx/7598e78f2b315ea46539476ecdd7caed to your computer and use it in GitHub Desktop.
First aid copy-pastables for debugging stuff
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 DBG_PRINT(fmt, ...) fprintf(stderr, "-----> %s() line %d: " fmt, __func__, __LINE__, ##__VA_ARGS__) | |
#define DBG_PRINT(fmt, ...) fprintf(stderr, "-----> %s -> %s() line %d: " fmt, __FILE__,_ _func__, __LINE__, ##__VA_ARGS__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment