CFHash |
||||
Header: | CFBase.h | Carbon status: | Supported | |
Obtains a code that can be used to identify an object in a hashing structure.
CFHashCode CFHash ( CFTypeRef cf );
A generic reference of type CFTypeRef. Pass a reference to any Core Foundation object whose hashing value you want to obtain.
An integer of type CFHashCode that represents a hashing value for the object.
Two objects that are equal (as determined by the CFEqual function) have the same hashing value. However, the converse is not true: two objects with the same hashing value might not be equal. That is, hashing values are not unique.
The hashing value for an object might change from release to release or from platform to platform.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)