Check Undefined Function Calls
Check Undefined Function Calls
- Subject: Check Undefined Function Calls
- From: Ian McGregor <email@hidden>
- Date: Mon, 27 Jun 2005 08:35:59 -0700
Reading the developer documentation at http://developer.apple.com/
documentation/DeveloperTools/Conceptual/cross_development/
index.html#//apple_ref/doc/uid/10000163i
there is an example half way down the page which outlines a method
for checking for undefined function calls when cross developing. I am
confused by the example, should the first if statement not be:
if (HIAboutBox == NULL) ? Signifying its non existence in this
earlier version of OS X.
(Difference being != and ==)
Code from developer page:
void MyAboutBox(void)
{
if(HIAboutBox != NULL)
{
// Lots of code to display an about box with earlier
technology.
}
else
{
HIAboutBox(NULL);
}
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden