摘要:
alloc.h//接口 #include #define malloc #define MALLOC(num,type) (type *)alloc((num)*sizeof(type)) extern void *alloc(size_t size); alloc.c//实现 #include #include "alloc.h" #undef malloc void * alloc(siz... 阅读全文
posted @ 2009-12-23 00:58
macula7
阅读(112)
评论(0)
推荐(0)
摘要:
alloc.h//接口 #include #define malloc #define MALLOC(num,type) (type *)alloc((num)*sizeof(type)) extern void *alloc(size_t size); alloc.c//实现 #include #include "alloc.h" #undef malloc void * alloc(siz... 阅读全文
posted @ 2009-12-23 00:58
macula7
阅读(153)
评论(0)
推荐(0)
浙公网安备 33010602011771号