mirror of
https://github.com/libretro/NP2kai.git
synced 2024-10-07 14:53:33 +00:00
23 lines
293 B
C
Executable File
23 lines
293 B
C
Executable File
#include "compiler.h"
|
|
#include <stdarg.h>
|
|
|
|
|
|
int trace_flag = 0;
|
|
|
|
void trace_init(void) {
|
|
}
|
|
|
|
void trace_term(void) {
|
|
}
|
|
|
|
void trace_fmt(const char *fmt, ...) {
|
|
|
|
va_list ap;
|
|
gchar buf[1024];
|
|
|
|
va_start(ap, fmt);
|
|
g_vsnprintf(buf, sizeof(buf), fmt, ap);
|
|
va_end(ap);
|
|
g_printerr("%s\n", buf);
|
|
}
|