raze-gles/source/tools/src/compat_tools.cpp
hendricks266 1cc9d13ccf The great repository rearrangement of 2017.
Files moved but not modified. Changes to follow in a subsequent commit.

You down with CPP?

git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:01:11 +00:00

26 lines
395 B
C++

// Compatibility declarations for the tools to avoid linking to the entire engine.
#include "compat.h"
#ifdef __cplusplus
extern "C" {
#endif
//
// initprintf() -- prints a string
//
void initprintf(const char *f, ...)
{
va_list va;
char buf[2048];
va_start(va, f);
Bvsnprintf(buf, sizeof(buf), f, va);
va_end(va);
}
int16_t editstatus = 1;
#ifdef __cplusplus
}
#endif