• 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: Calling an object from a C function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling an object from a C function


  • Subject: Re: Calling an object from a C function
  • From: David Duncan <email@hidden>
  • Date: Tue, 19 Aug 2008 15:52:14 -0700

On Aug 19, 2008, at 2:53 PM, Gilbert Mackall wrote:

I have a C function from which I would like to call a method. I can't find any documents the cover how to do this.

You call it just like you call any other method. Your C function will need to be compiled with the Obj-C compiler however. Easiest way to do this is to name the source file with a .m extension.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

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


  • Follow-Ups:
    • Re: Calling an object from a C function
      • From: Charlie Dickman <email@hidden>
References: 
 >Calling an object from a C function (From: Gilbert Mackall <email@hidden>)

  • Prev by Date: Re: Calling an object from a C function
  • Next by Date: Re: IKImageBrowser drag reordering question/problem
  • Previous by thread: Re: Calling an object from a C function
  • Next by thread: Re: Calling an object from a C function
  • Index(es):
    • Date
    • Thread