• 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
Re: Callbacks in C libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Callbacks in C libraries


  • Subject: Re: Callbacks in C libraries
  • From: Eric Shepherd <email@hidden>
  • Date: Mon, 16 Jun 2003 18:53:06 -0400

Well, certainly in this case, the ability to embed a C function within an Objective C method is a critical ability. It makes it incredibly easy to make use of C libraries that require callback functions.

On Sunday, June 15, 2003, at 06:30 AM, Alastair J.Houghton wrote:

I don't think using GCC extensions is bad practice; that would only be true if GCC was non-portable and you needed to write portable code. OK, if you have some requirement that your code has to build on another compiler as well as GCC, then it might be a problem... but that is a special case, probably (in the specific case of ObjC) applicable to Apple's example programs and not a great deal else.


--
Eric Shepherd
Owner
Syndicomm
http://www.syndicomm.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Callbacks in C libraries (From: "Alastair J.Houghton" <email@hidden>)

  • Prev by Date: Re: Callbacks in C libraries
  • Next by Date: Re: NSTableView ignoring arrow keys
  • Previous by thread: Re: Callbacks in C libraries
  • Next by thread: Re: Callbacks in C libraries
  • Index(es):
    • Date
    • Thread