6 #define MEMB(name,size,num) \
7 static u8 memb_mem_##name[(MEM_ALIGN_SIZE(size)+sizeof(u32))*num]; \
8 static struct memb_blks name = {size,num,memb_mem_##name}
16 void btmemb_init(struct memb_blks
*blk
);
17 void* btmemb_alloc(struct memb_blks
*blk
);
18 u8
btmemb_free(struct memb_blks
*blk
,void *ptr
);
19 u8
btmemb_ref(struct memb_blks
*blk
,void *ptr
);