NSAllocateCollectable
Allocates collectable memory.
Declaration
extern void *NSAllocateCollectable(NSUInteger size, NSUInteger options);Parameters
- size:
The number of bytes of memory to allocate.
- options:
0orNSScannedOption: A value of0allocates non-scanned memory; a value ofNSScannedOptionallocates scanned memory.
Return Value
A pointer to the allocated memory, or NULL if the function is unable to allocate the requested memory.