mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
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
This commit is contained in:
parent
05985da5a3
commit
1cc9d13ccf
916 changed files with 0 additions and 319 deletions
26
source/tools/src/compat_tools.cpp
Normal file
26
source/tools/src/compat_tools.cpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
// 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
|
Loading…
Add table
Add a link
Reference in a new issue