[gc] Introduce mono_object_new_mature in the same fashion as the other alloc functions.
[mono.git] / mono / metadata / null-gc.c
index e5c16e1e9a46b2eab51c6249b54115f6ed82bad6..5b94b3f3e7109cbc5123a81b7d34b83bf248d3bb 100644 (file)
@@ -234,6 +234,12 @@ mono_gc_alloc_string (MonoVTable *vtable, size_t size, gint32 len)
        return obj;
 }
 
+void*
+mono_gc_alloc_mature (MonoVTable *vtable, size_t size)
+{
+       return mono_gc_alloc_obj (vtable, size);
+}
+
 void
 mono_gc_wbarrier_set_field (MonoObject *obj, gpointer field_ptr, MonoObject* value)
 {