On Tue, Mar 3, 2009 at 10:43 AM, Sean McBride <[email protected]> wrote:
> On 3/3/09 12:42 PM, Graham Cox said:
>
>>Have a look at NSSwapBigFloatToHost and friends
>
> Interesting.  I'd not noticed that function, but I'm a bit suspicious of
> it.  It takes a NSSwappedFloat struct, which is a struct with a single
> 'long'.  But a float is 32 bit, and a long is either 32 or 64 depending, so...

It's an unsigned int in the 10.5 SDK, which is what you must use if
you're going to be using any NS APIs in 64-bit.

Mike
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please 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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to