2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Original version from libnix
9 /*****************************************************************************
12 #include <proto/alib.h>
36 06.12.96 digulla Created after original from libnix
38 ******************************************************************************/
40 # define poolHeader ((POOL*)pool)
41 if (SysBase
->LibNode
.lib_Version
>=39)
42 DeletePool(poolHeader
);
45 if (poolHeader
!= NULL
)
50 while ((poolMem
= (ULONG
*)RemHead (
51 (struct List
*)&poolHeader
->PuddleList
)
56 FreeMem (poolMem
, size
);
59 FreeMem (poolHeader
, sizeof (POOL
));