site_archiver@lists.apple.com Delivered-To: Cocoa-dev@lists.apple.com On Mar 31, 2010, at 4:50 PM, Philip Mobley wrote:
I am wanting to perform a runtime check to see if a particular C function exists. While in this particular case, the C function I want to use is only available as part of 10.6 SDK (there are examples of this in archives), but I want to know if there is a runtime method similar to @selector that would work on C generic methods.
Just check the function address (its name without an argument list) against NULL. There are examples in Apple's cross-development documentation. http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptu... Cheers, Ken _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com