[Neko] trigger garbarge collection?
dan at f3c.com
Thu Jun 8 15:42:56 CEST 2006
i'm trying to make my cptr helper lib memory-safe. i've alread integrated your suggestion of storing the allocated size together with the pointer in a new structure, which seems to work nice.
now i would like to do some tests to assure no memleaks occur. for that, i'd need to find a way to trigger garbage collection of my abstracts. i know that setting the variable to null will (sooner or later) do so, but i'd need to do it "now".
is there a way already in neko? or some boehm-gc function i could wrap (for this preliminary purpose)?
More information about the Neko