Type Alias

CFAllocatorCopyDescriptionCallBack

A prototype for a function callback that provides a description of the specified data.

Declaration

typedef CFStringRef (*CFAllocatorCopyDescriptionCallBack)(const void *info);

Parameters

info

An untyped pointer to program-defined data.

Return Value

A CFString object that describes the allocator. The caller is responsible for releasing this object.

Discussion

A prototype for a function callback that provides a description of the data pointed to by the info field. In implementing this function, return a reference to a CFString object that describes your allocator, particularly some characteristics of your program-defined data.

See Also

Callbacks

CFAllocatorAllocateCallBack

A prototype for a function callback that allocates memory of a requested size.

CFAllocatorDeallocateCallBack

A prototype for a function callback that deallocates a block of memory.

CFAllocatorPreferredSizeCallBack

A prototype for a function callback that gives the size of memory likely to be allocated, given a certain request.

CFAllocatorReallocateCallBack

A prototype for a function callback that reallocates memory of a requested size for an existing block of memory.

CFAllocatorReleaseCallBack

A prototype for a function callback that releases the given data.

CFAllocatorRetainCallBack

A prototype for a function callback that retains the given data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software