mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-22 15:45:22 +03:00
17 lines
232 B
C++
17 lines
232 B
C++
|
#include "CTrace.h"
|
||
|
#include <stdarg.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
//
|
||
|
// CTrace
|
||
|
//
|
||
|
|
||
|
void CTrace::print(const char* fmt, ...)
|
||
|
{
|
||
|
va_list args;
|
||
|
va_start(args, fmt);
|
||
|
vfprintf(stderr, fmt, args);
|
||
|
va_end(args);
|
||
|
fprintf(stderr, "\n");
|
||
|
}
|