Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
- Subject: Runtime difference on "some" hardware? (Was: Re: Instance method declaration)
- From: Sherm Pendley <email@hidden>
- Date: Mon, 22 May 2006 00:27:51 -0400
On May 21, 2006, at 10:41 PM, Erik Buck wrote:
More importantly, on some hardware platforms, different Objective-C
runtime functions are called based on the expected return type of
the message being sent.
On *some* platforms? That makes me nervous...
In CamelBones, to call Objective-C methods from Perl, I use ffcall to
assemble a stack frame and call either objc_msgSend() or
objc_msgSend_stret() depending on the declared return type.
That's been working great for quite a while on PPC, so I assume that
"some platforms" must mean Intel. But, I've had very reliable reports
that CamelBones apps (well, one app) built as UBs run fine on Intel.
So, what am I missing? It appears to me that both of the official Mac
hardware platforms behave as you're describing above. Were you
referring to the GNU runtime? Come to think of it, I hope you did
mean GNU... that might help explain the problems I've had porting my
code to GNUStep.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden