config: Introduce DEBUG_CONFIG macro for debug output of config
This commit is contained in:
1 parent
d0cf55e13a
commit
da6514a04a
3 files changed
+22
No files matched your search
@@ -16,6 +16,11 @@
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
|
||||
#define STR_(x) #x
|
||||
#define STR(x) STR_(x)
|
||||
#define DEBUG_CONFIG_MSG(x) "DEBUG_CONFIG: " x
|
||||
#define DEBUG_CONFIG_DEF(x) DEBUG_CONFIG_MSG(#x "=" STR(x))
|
||||
|
||||
typedef struct {
|
||||
void (*fn)(const char *text, void* data);
|
||||
const void* data;
|
||||
|
||||
Reference in new issue
Block a user