Update of /cvsroot/rtk/rtk/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25821
Modified Files:
test.h
Log Message:
Made work in vcpp
Index: test.h
===================================================================
RCS file: /cvsroot/rtk/rtk/test/test.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** test.h 20 Apr 2004 18:17:32 -0000 1.13
--- test.h 20 Apr 2004 18:40:07 -0000 1.14
***************
*** 34,40 ****
#define OUT(msg, val) \
{IncStep(); \
! typeof(val) tmp = val; \
! rprintf(_R("> ") _R(msg) _R("\n"), tmp); \
! rfprintf(f_out, _R("> ") _R(msg) _R("\n"), tmp); \
fflush(f_out);}
--- 34,40 ----
#define OUT(msg, val) \
{IncStep(); \
! RCHAR buf[1024]; rsprintf(buf, _R("> ") _R(msg) _R("\n"), val); \
! rprintf(buf); \
! rfprintf(f_out, buf); \
fflush(f_out);}
|