2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mono-debugger.git] / mono / metadata / mono-gc.h
blobbcd4ba263df1c9e7c7c26dc328275fd3d460968b
1 /*
2 * mono-gc.h: GC related public interface
4 */
5 #ifndef __METADATA_MONO_GC_H__
6 #define __METADATA_MONO_GC_H__
8 #include <mono/metadata/object.h>
10 G_BEGIN_DECLS
12 void mono_gc_collect (int generation);
13 int mono_gc_max_generation (void);
14 int mono_gc_get_generation (MonoObject *object);
15 int mono_gc_collection_count (int generation);
16 gint64 mono_gc_get_used_size (void);
17 gint64 mono_gc_get_heap_size (void);
18 int mono_gc_invoke_finalizers (void);
20 G_END_DECLS
22 #endif /* __METADATA_MONO_GC_H__ */