I created this function at garbage.c to know the ITEMS at GB
HB_FUNC( HB_GCALLOCATED )
{
HB_THREAD_STUB
hb_retnl( s_uAllocated );
}
but it don't works correctly because function
HB_EXPORT void hb_gcCollectAll( BOOL bForce )
put this value to 0
I think that it's incorrect the line 633
s_uAllocated = 0;
because it makes this value negative in some cases ;)
Any body is agree ?
Best regards,
Miguel Angel Marchuet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers