• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Check Undefined Function Calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Check Undefined Function Calls
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Not drawing NSTableView rows as selected?
  • Next by Date: Re: Core Data Multiple User question
  • Previous by thread: Re: Getting NSMetadataQuery to sort properly
  • Next by thread: Re: Check Undefined Function Calls
  • Index(es):
    • Date
    • Thread