Created
October 15, 2014 17:23
-
-
Save espenak/bf1c549200d2a0c8a946 to your computer and use it in GitHub Desktop.
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 debug_params(params, length) \ | |
{ \ | |
int i; \ | |
fprintf(stderr, "*********** Debug for param vector ************\n"); \ | |
for(i = 0;i<length;i++){ \ | |
if(params[i] != NULL){ \ | |
fprintf(stderr, "DEBUG: "); \ | |
fprintf(stderr, params[i], NULL); \ | |
fprintf(stderr, "\n"); \ | |
} \ | |
} \ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment