• 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: make c function in objc-class know about instance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make c function in objc-class know about instance?


  • Subject: Re: make c function in objc-class know about instance?
  • From: "Philip Q" <email@hidden>
  • Date: Sun, 31 Dec 2006 02:15:23 +1300

On 31/12/06, maximilian marcoll <email@hidden> wrote:
i'm using some library code which is calling a callback function i
declared in my class interface.
now my problem is that the callback function, which is a c-function,
doesn't even know self.
i need to declare the callback as a c function, but i want the
callback function to know about the object.

I asked the same question a while back on the objc-language list, the response I got is archived at - <http://lists.apple.com/archives/objc-language/2004/Dec/msg00006.html>

-Phil
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >make c function in objc-class know about instance? (From: maximilian marcoll <email@hidden>)

  • Prev by Date: Re: make c function in objc-class know about instance?
  • Next by Date: storing data from NSPanel
  • Previous by thread: Re: make c function in objc-class know about instance?
  • Next by thread: Re: make c function in objc-class know about instance?
  • Index(es):
    • Date
    • Thread