Skip to content

Commit

Permalink
mx_util: Add mx_debug_value()
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed May 13, 2015
1 parent a602784 commit 4165e22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mx_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
} while (0)
#endif

#define mx_debug_value(fmt, v) mx_log_debug("mx_debug_value: " #v " = " fmt, v)

#undef mx_free_null
#define mx_free_null(a) do { free(a); (a) = NULL; } while(0)

Expand Down

0 comments on commit 4165e22

Please sign in to comment.