From: <laz...@us...> - 2004-03-07 21:16:54
|
Update of /cvsroot/rtk/rtk/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32596/test Modified Files: test.h Log Message: - Added custom key support for Dict - template based (T)Dict classes - Int / Str Dict added Index: test.h =================================================================== RCS file: /cvsroot/rtk/rtk/test/test.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** test.h 28 Feb 2004 20:59:24 -0000 1.7 --- test.h 7 Mar 2004 20:53:00 -0000 1.8 *************** *** 9,14 **** #include <rtk/rchar.h> #define STEP(x) IncStep();rprintf(_R("$ %s\n"), _R(#x));x ! #define OUT(msg,val) IncStep();rprintf(_R("> ") _R(msg) _R("\n"), val) #define TITLE(x) \ --- 9,17 ---- #include <rtk/rchar.h> + #undef OUT + #undef STEP + #define STEP(x) IncStep();rprintf(_R("$ %s\n"), _R(#x));x ! #define OUT(msg, val) IncStep();rprintf(_R("> ") _R(msg) _R("\n"), val) #define TITLE(x) \ *************** *** 23,31 **** static void IncStep() { ! rprintf(_R("[%03d] "), step_counter++); } - /*#define PRINTF(fmt,rest...) rprintf(_R(" ") fmt, #rest)*/ - //#define PRINTF(printf_exp) rprintf printf_exp - #endif --- 26,31 ---- static void IncStep() { ! rprintf(_R("[%03d] "), ++step_counter); } #endif |