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