mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
19 lines
247 B
C++
19 lines
247 B
C++
/* libtriple debug functions */
|
|
|
|
#include <stdarg.h>
|
|
#include <stdio.h>
|
|
|
|
int cnxt_debug = 0;
|
|
|
|
void lt_debug(const char *fmt, ...)
|
|
{
|
|
if (! cnxt_debug)
|
|
return;
|
|
|
|
va_list args;
|
|
va_start(args, fmt);
|
|
vfprintf(stderr, fmt, args);
|
|
va_end(args);
|
|
}
|
|
|