On 09/14/10 petermonsson wrote: > Personal Note: To get the generation I used "int mono_gc_max_generation();" > which seemed to kick off the garbage collector. mono-gc.h also has "int > mono_gc_get_generation(MonoObject *object);" but it is undocumented, so I'm > not sure whether it is supposed to be used.
That one gets the generation number the object belongs to. I just added the documentation to current trunk (many runtime functions map fairly well to the equivalently named corlib methods, in this cases the ones in the System.GC class). lupus -- ----------------------------------------------------------------- [email protected] debian/rules [email protected] Monkeys do it better _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
