Exemplo n.º 1
0
 void *GC_amiga_gctest_malloc_explicitly_typed(size_t lb, GC_descr d){
   void *ret=GC_malloc_explicitly_typed(lb,d);
   if(ret==NULL){
               if(!GC_dont_gc){
             GC_gcollect();
             ret=GC_malloc_explicitly_typed(lb,d);
               }
     if(ret==NULL){
       GC_printf("Out of memory, (typed allocations are not directly "
                     "supported with the GC_AMIGA_FASTALLOC option.)\n");
       FAIL;
     }
   }
   return ret;
 }
Exemplo n.º 2
0
void *ILGCAllocExplicitlyTyped(unsigned long size, ILNativeInt descriptor)
{
	return GC_malloc_explicitly_typed(size, (GC_descr)descriptor);
}