In corlib/System.Runtime.InteropServices:
[mono.git] / mono / metadata / mono-gc.h
1 /*
2  * mono-gc.h: GC related public interface
3  *
4  */
5 #ifndef __METADATA_MONO_GC_H__
6 #define __METADATA_MONO_GC_H__
7
8 #include <mono/metadata/object.h>
9
10 G_BEGIN_DECLS
11
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
19 G_END_DECLS
20
21 #endif /* __METADATA_MONO_GC_H__ */
22