• 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: Accessing objective-c from c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing objective-c from c


  • Subject: Re: Accessing objective-c from c
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 30 May 2003 12:13:48 +0100

On Friday, May 30, 2003, at 06:56 am, James Howard wrote:

I've been playing around with unsanity's ape sdk lately. Its pretty cool, but to do anything complex it requires that I make a lot of objective-c calls from c. I've figured out how to send and get return values for all of the possible objective-c message types except for those methods that return just a plain int or something.

Eeeek! Why are you doing this?! Just change the source file's name to .m and call Obj-C in the normal way. You do *NOT* have to worry about translating the calls into plain C, that's what the compiler is there for!

-- Finlay
_______________________________________________
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: 
 >Accessing objective-c from c (From: James Howard <email@hidden>)

  • Prev by Date: Re: Unicode - Converting memory to match NSCell -stringvalue?
  • Next by Date: Re: Moving records in NSTableView
  • Previous by thread: Accessing objective-c from c
  • Next by thread: Re: Accessing objective-c from c
  • Index(es):
    • Date
    • Thread