Created
November 21, 2014 20:45
-
-
Save dhh1128/107323f0e3b69f959de0 to your computer and use it in GitHub Desktop.
fancier variadic macro using GCC's ##__VA_ARGS__ extension
This file contains hidden or 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 eprintf(fmt, ...) \ | |
fprintf(stderr, fmt, ##__VA_ARGS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment