mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
84cae053c1
git-svn-id: https://svn.eduke32.com/eduke32@6925 1a8010ca-5511-0410-912e-c29ae57300e0
28 lines
450 B
C++
28 lines
450 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);
|
|
}
|
|
|
|
int initputs (const char * str) { return puts(str); }
|
|
|
|
int16_t editstatus = 1;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|