mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-09 07:52:48 +00:00
5f7875a243
This was SVN commit r3959.
14 lines
186 B
C
14 lines
186 B
C
enum {
|
|
ERROR,
|
|
WARNING,
|
|
};
|
|
|
|
#include <stdarg.h>
|
|
|
|
static void LOG(int level, const char* cat, const char* fmt, ...)
|
|
{
|
|
va_list va;
|
|
va_start(va, fmt);
|
|
vprintf(fmt, va);
|
|
printf("\n");
|
|
} |