2010-04-19 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / metadata / null-gc.c
index 90b0a131a1ad716d79ac0dfca6dc58ebd64d58df..d98df2bd17473a3e97d10aafe600d9fc57004fe2 100644 (file)
@@ -46,13 +46,13 @@ mono_gc_add_memory_pressure (gint64 value)
 }
 
 /* maybe track the size, not important, though */
-gint64
+int64_t
 mono_gc_get_used_size (void)
 {
        return 1024*1024;
 }
 
-gint64
+int64_t
 mono_gc_get_heap_size (void)
 {
        return 2*1024*1024;
@@ -262,5 +262,11 @@ mono_gc_get_write_barrier (void)
        return NULL;
 }
 
+void*
+mono_gc_invoke_with_gc_lock (MonoGCLockedCallbackFunc func, void *data)
+{
+       return func (data);
+}
+
 #endif