- initial import

git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@37 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-10-25 07:27:55 +00:00
commit 843c6e300c
75 changed files with 40248 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
// --------------------------------------------------------------
// --------------------------------------------------------------
#include <windows.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
// --------------------------------------------------------------
// internal funcs
// --------------------------------------------------------------
// Exported functions
// --------------------------------------------------------------
void SynthDebug(char *fmtstr, ...)
{
#ifndef SYNTH_DEBUG
/* Empty body, so a good compiler will optimise calls
to pmesg away */
#else
char buf[1024];
va_list args;
va_start(args, fmtstr);
vsprintf(buf, fmtstr, args);
va_end(args);
OutputDebugString(buf);
#endif /* SYNTH_DEBUG */
}