ReturnPoolItem

Returns an item to a pool.

Synopsis

void ReturnPoolItem (ItemPoolPtr itemPool, Item item)

Description

Returns an item to the specified pool. ReturnPoolItem() determines whether the item was initially allocated from the specified pool and then returns it to the available list.

Arguments

itemPool
Pool to which the item is returned.
item
Item that is returned to the specified pool.

Return Value

None

Associated Files

ItemPool.h

See Also

AllocPoolItem