Skip to content

Instantly share code, notes, and snippets.

@espenak
Created October 15, 2014 17:23
Show Gist options
  • Save espenak/bf1c549200d2a0c8a946 to your computer and use it in GitHub Desktop.
Save espenak/bf1c549200d2a0c8a946 to your computer and use it in GitHub Desktop.
#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