Re: Which flavor of objc_msgSend for NSSize return
Re: Which flavor of objc_msgSend for NSSize return
- Subject: Re: Which flavor of objc_msgSend for NSSize return
- From: Chris Hanson <email@hidden>
- Date: Fri, 11 May 2007 17:28:15 -0700
On May 11, 2007, at 12:13 PM, Rosyna wrote:
I'm trying to call a method that returns an NSSize on i386. Do I use
objc_msgSend, _fpret, or _stret?
NSSize windowSize = [window size];
Instead of using objc_*, just use [] message notation. If you need to
interoperate with C++ code, you can just use Objective-C++.
-- Chris
_______________________________________________
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