1.1 --- a/gclib/mem.h Fri Jan 27 00:28:11 2012 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,13 +0,0 @@
1.4 -#ifndef GC_MEM_H
1.5 -#define GC_MEM_H
1.6 -
1.7 -void *mem_alloc(size_t nmemb,size_t size);
1.8 -void *mem_alloc0(size_t nmemb,size_t size);
1.9 -void *mem_realloc(void *ptr,size_t nmemb,size_t size);
1.10 -
1.11 -#define mem_new(type,n) ((type *)mem_alloc(n,sizeof(type)))
1.12 -#define mem_new0(type,n) ((type *)mem_alloc0(n,sizeof(type)))
1.13 -#define mem_renew(type,ptr,n) ((type *)mem_realloc(ptr,n,sizeof(type)))
1.14 -#define mem_free(ptr) free(ptr)
1.15 -
1.16 -#endif /* GC_MEM_H */