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/Conceptual/cross_development/Using/using.html 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com