2012-03-12 04:48:42 +00:00
|
|
|
// Compatibility declarations for the tools to avoid linking to the entire engine.
|
|
|
|
|
|
|
|
#include "compat.h"
|
|
|
|
|
2014-12-09 22:51:41 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-03-12 04:48:42 +00:00
|
|
|
//
|
|
|
|
// 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);
|
|
|
|
}
|
2012-03-23 20:23:46 +00:00
|
|
|
|
2018-06-14 21:25:14 +00:00
|
|
|
int initputs (const char * str) { return puts(str); }
|
|
|
|
|
2015-01-24 19:14:39 +00:00
|
|
|
int16_t editstatus = 1;
|
2014-12-09 22:51:41 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|