CFAllocatorGetDefault |
||||
Header: | CFBase.h | Carbon status: | Supported | |
Gets the default allocator object for the current thread.
CFAllocatorRef CFAllocatorGetDefault ();
A reference to an allocator object.
Use this function to get the allocator object that is currently set as the default allocator for the current thread. If one has not been explicitly set, the function returns the generic system allocator (kCFAllocatorSystemDefault).
See the discussion for CFAllocatorSetDefault for more detail on the default allocator and for advice on how and when to set a custom allocator as the default.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)