Hi April,

HB_TRACEFM(), with my next commit. I'm waiting for Przemek and others are 
ready. ;)

Is there a macro I can use to identify this sub-function? I could leave
it in the code wrapped conditional code for debug only.

Yes if you have a C99 compiler, just have to redefine the macro in your code .-

#ifdef HB_TRACEFM
#  undef  HB_TRACEFM
#  define HB_TRACEFM( x )  hb_fm_xInfoEx( #x, __FILE__, __LINE__, __func__ ); x
#endif

Best regards,
Xavi

El 01/02/2010 4:00, April White escribió:
When my C level code does not release memory, the fm statistics reports
this but gives the public function though in some cases the allocation
occured in a sub-function.

Is there a macro I can use to identify this sub-function? I could leave
it in the code wrapped conditional code for debug only.

April

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to