libui/unix/util.c

14 lines
274 B
C
Raw Normal View History

2015-04-18 16:20:05 -05:00
// 18 april 2015
#include "uipriv_unix.h"
2015-04-18 16:20:05 -05:00
void complain(const char *fmt, ...)
{
2015-04-18 16:20:05 -05:00
va_list ap;
va_start(ap, fmt);
// there's no g_errorv() in glib 2.32, so do it manually instead
g_logv(G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, fmt, ap);
va_end(ap);
abort(); // just in case
}