Added fast-and-dirty debug macro
This commit is contained in:
parent
2932173873
commit
816138361b
|
@ -8,6 +8,8 @@ typedef enum _GmDebugLevel {
|
|||
DEBUG_ALL = 0xFFFF
|
||||
} GmDebugLevel;
|
||||
|
||||
#define GM_DEBUG(format, args...) gm_debug_msg(DEBUG_ALWAYS, format, ##args)
|
||||
|
||||
void gm_debug_msg(gint level, char *line, ...);
|
||||
void gm_debug_set_level(gchar *level);
|
||||
|
||||
|
|
Reference in New Issue