#include <stdio.h> #include <tchar.h> #include "debug.h" static FILE *f=0; void DBG_open() { f = fopen("c:\\p43ds.log", "a"); } void DBG_output(wchar_t *msg) { fwprintf(f, msg); fwprintf(f, _T("\n")); fflush(f); } void DBG_close() { fclose(f); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 10140 | Matt Attaway | Initial release of the P4GT source code. |