ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Utility.h
(Generate patch)

Comparing Daodan/src/Daodan_Utility.h (file contents):
Revision 992 by alloc, Thu Mar 7 17:26:13 2013 UTC vs.
Revision 993 by alloc, Sun Apr 6 17:06:02 2014 UTC

# Line 3 | Line 3
3  
4   #include "Daodan.h"
5  
6 + #define WHERESTR  "Daodan [%-22s:%4d ]: "
7 + #define WHEREARG  __FILE__, __LINE__
8 + #define DEBUGPRINT2(...)       DDrStartupMessage(__VA_ARGS__)
9 + #define STARTUPMESSAGE(_fmt, ...)  DEBUGPRINT2(WHERESTR _fmt, WHEREARG, __VA_ARGS__)
10 +
11 +
12   void __cdecl DDrStartupMessage(const char* fmt, ...);
13   int64_t ONICALL DDrMachineTime_High();
14   double  ONICALL DDrMachineTime_High_Frequency();

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)