CFAllocatorAllocate |
||||
Header: | CFBase.h | Carbon status: | Supported | |
Allocates memory using the specified allocator.
void *CFAllocatorAllocate ( CFAllocatorRef allocator, CFIndex size, CFOptionFlags hint );
A reference of type CFAllocatorRef that refers to the allocator object to be used for allocating memory. Pass a reference to a valid allocator or NULL to request the default allocator.
An integer value of type CFIndex. Pass the number of bytes you want allocated
A bitfield of type CFOptionsFlags. Pass flags to the allocator that suggest how memory is to be allocated. Zero indicates no hints.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)