From: Szasz P. <sp...@us...> - 2004-03-19 21:21:12
|
Update of /cvsroot/rtk/rtk/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3418/test Modified Files: test.h Log Message: Some minor fix and added some _R macros to array0 test Index: test.h =================================================================== RCS file: /cvsroot/rtk/rtk/test/test.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** test.h 17 Mar 2004 19:37:08 -0000 1.11 --- test.h 19 Mar 2004 21:11:18 -0000 1.12 *************** *** 12,19 **** #undef STEP ! #if 0 #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) \ --- 12,20 ---- #undef STEP ! #if 0 || UNICODE #define STEP(x) IncStep();rprintf(_R("$ %s\n"), _R(#x));x #define OUT(msg, val) IncStep();rprintf(_R("> ") _R(msg) _R("\n"), val) + #define OUTD OUT #define TITLE(x) \ *************** *** 49,53 **** rprintf(_R("-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-\n")); \ const char * f_out_name_ = __FILE__ ".out"; \ ! const char * f_out_name = f_out_name_ + rstrlen(f_out_name_) - 1; \ while (f_out_name > f_out_name_ && f_out_name[-1] != '/') f_out_name--; \ rprintf(_R("Output of the STEP and OUT macros can be found also in the file `%s'\n"), f_out_name); \ --- 50,54 ---- rprintf(_R("-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-\n")); \ const char * f_out_name_ = __FILE__ ".out"; \ ! const char * f_out_name = f_out_name_ + strlen(f_out_name_) - 1; \ while (f_out_name > f_out_name_ && f_out_name[-1] != '/') f_out_name--; \ rprintf(_R("Output of the STEP and OUT macros can be found also in the file `%s'\n"), f_out_name); \ |