CFEqual |
||||
Header: | CFBase.h | Carbon status: | Supported | |
Determines whether the two Core Foundation objects referenced in the parameters are equal.
Boolean CFEqual ( CFTypeRef cf1, CFTypeRef cf2 );
A generic reference of type CFTypeRef that refers to any Core Foundation object. Pass a reference to the first object used in the comparison.
A generic reference of type CFTypeRef that refers to any Core Foundation object. Pass a reference to the second object used in the comparison.
A Boolean value indicating whether the two compared objects are equal (true) or not equal (false).
When CFEqual is called, Core Foundation returns true if the two objects are of the same type and equal, or false if otherwise.
Equality is something specific to each Core Foundation type. For example, two CFNumbers are equal if the numeric values they represent are equal. Two CFStrings are equal if they represent identical sequences of characters, regardless of encoding.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)