• 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: Syntax errors, undeclared variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax errors, undeclared variables


  • Subject: Re: Syntax errors, undeclared variables
  • From: Andrew Farmer <email@hidden>
  • Date: Mon, 9 Feb 2009 02:27:18 -0800

On 07 Feb 09, at 16:06, Kevin Walzer wrote:
I am making progress on this by refactoring the code to include the Cocoa methods in a Cocoa class and the Tcl C-API code in a separate file, called in normal C procedural style.

Keep in mind that there's no restriction against calling ObjC methods from C functions. The only situation where you need to write a class for this sort of glue code is if the APIs you're wrapping specifically need a delegate object (or similar).
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Syntax errors, undeclared variables (From: Kevin Walzer <email@hidden>)
 >Re: Syntax errors, undeclared variables (From: Peter Duniho <email@hidden>)
 >Re: Syntax errors, undeclared variables (From: Kevin Walzer <email@hidden>)

  • Prev by Date: Re: Creating audio files in iphone
  • Next by Date: Re: CGFloat and 64 Bit
  • Previous by thread: Re: Syntax errors, undeclared variables
  • Next by thread: Re: What alternatives exist for objc_setClassHandler?
  • Index(es):
    • Date
    • Thread