Re: what's an NSZone?
Re: what's an NSZone?
- Subject: Re: what's an NSZone?
- From: Chris Kane <email@hidden>
- Date: Sat, 16 Feb 2002 11:54:44 -0800
On Friday, February 15, 2002, at 03:23 PM, Nat! wrote:
And then there is the CFAllocator in Corefoundation, which isn't
interchangeable with NSZone as well, but appears to be pretty much the
same idea.
In 10.1, CFAllocators and malloc_zone_t's are bridged -- mostly
interchangeable (I think CFAllocatorSetDefault() requires its parameter
to really be a CFAllocator, which isn't too much to ask; setting a
custom zone that you're going to destroy in the future as the default
allocator would be a bad idea anyway). One can see this nastiness in
the Darwin CF sources.
Chris Kane
Cocoa Framework, Apple
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.