CFGetRetainCount

Header: CFBase.h Carbon status: Supported

Obtains the retention count of a Core Foundation object.

CFIndex CFGetRetainCount (
    CFTypeRef cf
);
Parameter descriptions
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.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)