CFGetRetainCountHeader: CFBase.h

Obtains the retention count of a Core Foundation object.

CFIndex CFGetRetainCount (
    CFTypeRef cf
);
cf

A generic reference of type CFTypeRef. Pass a reference to any Core Foundation object whose retention count you want to obtain.

function result

A number representing the retention count of an object.


© 1999 Apple Computer, Inc. — (Last Updated 9/15/99)