clib: new raw_alloc and register_static_object services
[nit.git] / clib / nit_main.c
index 24216f8..6169787 100644 (file)
@@ -23,6 +23,16 @@ enum gc_option { large, boehm } gc_option;
 #include <gc/gc.h>
 #endif
 
+void *raw_alloc(size_t s0)
+{
+       return alloc(s0);
+}
+
+void register_static_object(val_t *o)
+{
+       return;
+}
+
 void *large_alloc(size_t s0)
 {
        static char * alloc_pos = NULL;