Obtains the context of the specified allocator or of the default allocator.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The allocator to examine. Pass
NULLto obtain the context of the default allocator.
On return, contains the context of
An allocator's context, a structure of type
CFAllocator, holds pointers to various function callbacks (particularly those that allocate, reallocate, and deallocate memory for an object). The context also contains a version number and the
info field for program-defined data. To obtain the value of the
info field you usually first have to get an allocator's context.