2 Copyright © 1995-2001, 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)
43 if (SysBase
->LibNode
.lib_Version
>=39)
44 DeletePool(poolHeader
);
47 if (poolHeader
!= NULL
)
52 while ((poolMem
= (ULONG
*)RemHead (
53 (struct List
*)&poolHeader
->PuddleList
)
58 FreeMem (poolMem
, size
);
61 FreeMem (poolHeader
, sizeof (POOL
));