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
Delivered-to: email@hidden
Delivered-to: email@hidden
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Ku6bfnMSwIckLmmSCg55FrmazE3iaQ0H7BtJsmzNr83f8xJ8VrgCZbS6v67PMdq0kXVZec7VD2M+u1EHJxMC5OtpCX3Boq1cc+Yv6zNPlzU5BBW+OkIVSVvf0b6pYT6R/L5617kbFgFaZCVg1rDi0iW9bd/QJrHjUmNqCelyf3k=
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.