Functions

Core Foundation Base Services provides these functions:

CFAllocatorAllocate Allocates memory using the specified allocator.
CFAllocatorCreate Creates an allocator object.
CFAllocatorDeallocate Deallocates a block of memory with a given allocator.
CFAllocatorGetContext Obtains the context of the specified allocator or of the default allocator.
CFAllocatorGetDefault Gets the default allocator object for the current thread.
CFAllocatorGetPreferredSizeForSize Obtains the number of bytes likely to be allocated upon a specific request.
CFAllocatorGetTypeID Obtains the unique identifier of the CFAllocator opaque type.
CFAllocatorReallocate Reallocates memory using the specified allocator.
CFAllocatorSetDefault Sets the given allocator as the default for the current thread.
CFComparatorFunction The prototype for a user-defined function that compares two values. You provide a pointer to this function in certain Core Foundation sorting functions.
CFCopyDescription Obtains the description of a Core Foundation object. You can use this function to debug code containing Core Foundation object.
CFCopyTypeIDDescription Returns a description of a Core Foundation type, as identified by its type ID. You can use this function for debugging purposes.
CFEqual Determines whether the two Core Foundation objects referenced in the parameters are equal.
CFGetAllocator Obtains the allocator used to allocate a Core Foundation object.
CFGetRetainCount Obtains the retention count of a Core Foundation object.
CFGetTypeID Obtains the unique identifier of the opaque type to which a Core Foundation object belongs.
CFHash Obtains a code that can be used to identify an object in a hashing structure.
CFRangeMake Declares and initializes a CFRange structure.
CFRelease Releases a Core Foundation object.
CFRetain Retains a Core Foundation object.

© 1999 Apple Computer, Inc. — (Last Updated 9/15/99)