Re: Passing C Style Function Callbacks in Cocoa
Re: Passing C Style Function Callbacks in Cocoa
- Subject: Re: Passing C Style Function Callbacks in Cocoa
- From: Vince Ackerman <email@hidden>
- Date: Fri, 5 Mar 2004 08:09:18 -0800
To clarify, this is the C style function I need to call from inside a
method in myObj. I would like to replace the function pointer
setStepBoundCB to call back a method of myObj instead. Is this
possible?
Error = TStep_boundCallbackSet( tStepper, setStepBoundCB);
It calls-back the following function which is declared outside myObj.
DeviceError setStepBoundCB( TStepper* tStepper, bool bound)
{
// Set an instance variable of myObj here
;
}
Thanks
Vince
_______________________________________________
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.