|
|
1.1 root 1: #ifndef Malloc
2:
3: #define Malloc(type,n) (type *)malloc((n)*sizeof(type))
4: #define Calloc(type,n) (type *)calloc((n),sizeof(type))
5: #define Realloc(type,ptr,n) (type *)realloc(ptr,(n)*sizeof(type))
6: #define Free(ptr) (ptr ? (free(ptr), ptr=0) : ptr)
7:
8: char *malloc(), *calloc(), *realloc();
9:
10: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.