4 APTR REGARGS
AllocVecPooled (APTR pool
, ULONG memsize
)
10 memsize
+= sizeof(IPTR
);
12 if ((mem
= AllocPooled(pool
, memsize
)))
21 return AllocVec(memsize
, MEMF_PUBLIC
| MEMF_CLEAR
);
25 void REGARGS
FreeVecPooled (APTR pool
, APTR mem
)
31 IPTR
*imem
= (IPTR
*)mem
;
34 FreePooled(pool
, imem
, size
);