libui/common/debug.c

22 lines
527 B
C

// 13 may 2016
#include "../ui.h"
#include "uipriv.h"
void uiprivDoImplBug(const char *file, const char *line, const char *func, const char *format, ...)
{
va_list ap;
va_start(ap, format);
uiprivRealBug(file, line, func, "POSSIBLE IMPLEMENTATION BUG; CONTACT ANDLABS:\n", format, ap);
va_end(ap);
}
void uiprivDoUserBug(const char *file, const char *line, const char *func, const char *format, ...)
{
va_list ap;
va_start(ap, format);
uiprivRealBug(file, line, func, "You have a bug: ", format, ap);
va_end(ap);
}