Polymorphic Functions

Core Foundation's Base Services include several polymorphic functions. These functions can take any Core Foundation object as a parameter and (in one instance, CFRetain ) can return any Core Foundation object. These parameters and return values are given the type of CFTypeRef , a generic object-reference type. (See Type IDs and Generic Object References for more on this type.)

You use polymorphic functions for operations that are common to all Core Foundation types:


© 1999 Apple Computer, Inc. – (Last Updated 07 September 99)