CFMakeCollectable
Makes a newly-allocated Core Foundation object eligible for garbage collection.
Declaration
extern CFTypeRef CFMakeCollectable(CFTypeRef cf);Parameters
- cf:
A CFType object to make collectable. This value must not be
NULL.
Return Value
cf.
Discussion
For more details, see Garbage Collection Programming Guide.
Special Considerations
If cf is NULL, this will cause a runtime error and your application will crash.