libui/unix/debug.c

15 lines
379 B
C
Raw Normal View History

2016-05-13 20:00:12 -05:00
// 13 may 2016
#include "uipriv_unix.h"
// LONGTERM don't halt on release builds
2016-05-13 20:00:12 -05:00
void uiprivRealBug(const char *file, const char *line, const char *func, const char *prefix, const char *format, va_list ap)
2016-05-13 20:00:12 -05:00
{
char *a, *b;
a = g_strdup_printf("[libui] %s:%s:%s() %s", file, line, func, prefix);
b = g_strdup_vprintf(format, ap);
g_critical("%s%s", a, b);
G_BREAKPOINT();
}