aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/common/debug.c
blob: 97280b47ba6e959322b63980d10b0b818364c40c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 13 may 2016
#include "../ui.h"
#include "uipriv.h"

void _implbug(const char *file, const char *line, const char *func, const char *format, ...)
{
	va_list ap;

	va_start(ap, format);
	realbug(file, line, func, "POSSIBLE IMPLEMENTATION BUG; CONTACT ANDLABS:\n", format, ap);
	va_end(ap);
}

void _userbug(const char *file, const char *line, const char *func, const char *format, ...)
{
	va_list ap;

	va_start(ap, format);
	realbug(file, line, func, "You have a bug: ", format, ap);
	va_end(ap);
}