Contents

kCFAllocatorMalloc

This allocator uses malloc(), realloc(), and free().

Declaration

let kCFAllocatorMalloc: CFAllocator!

Discussion

Typically you should not use this allocator, use kCFAllocatorDefault instead. This allocator is useful as the bytesDeallocator in CFData or contentsDeallocator in CFString where the memory was obtained as a result of malloc type functions.

See Also

Constants