From: <ma...@us...> - 2003-12-30 13:32:28
|
Update of /cvsroot/sharedaemon/ui-wx/src In directory sc8-pr-cvs1:/tmp/cvs-serv1103 Modified Files: defines.h Log Message: Added note about nonrecursive usage. Index: defines.h =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/defines.h,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- defines.h 30 Dec 2003 11:34:31 -0000 1.45 +++ defines.h 30 Dec 2003 13:32:23 -0000 1.46 @@ -60,6 +60,7 @@ * Some debugging macros for measuring time spent in function(s). Call * TIMER_START with function name (wxString) to start the timer, and then * TIMER_STOP to reset the timer and print out elapsed time. + * Note: You can't use these macros recursivly! */ #ifdef __WXDEBUG__ #define TIMER_START(func) wxStartTimer(); wxString cur_func=func |