Function

NSRecycleZone

Frees memory in a zone.

Declaration

void NSRecycleZone(NSZone *zone);

Discussion

Frees zone after adding any of its pointers still in use to the default zone. (This strategy prevents retained objects from being inadvertently destroyed.)

See Also

Managing Zones

NSCreateZone

Creates a new zone.

NSSetZoneName

Sets the name of the specified zone.

NSZoneCalloc

Allocates memory in a zone.

NSZoneFree

Deallocates a block of memory in the specified zone.

NSZoneFromPointer

Gets the zone for a given block of memory.

NSZoneMalloc

Allocates memory in a zone.

NSZoneName

Returns the name of the specified zone.

NSZoneRealloc

Allocates memory in a zone.

NSDefaultMallocZone

Returns the default zone.