Added fast-and-dirty debug macro

This commit is contained in:
Jesse van den Kieboom 2005-11-15 12:00:38 +00:00
parent 2932173873
commit 816138361b
1 changed files with 2 additions and 0 deletions

View File

@ -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);