discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alignment of NSMutableData


From: Richard Frith-Macdonald
Subject: Re: Alignment of NSMutableData
Date: Thu, 8 Aug 2002 13:54:17 +0100

On Monday, August 5, 2002, at 11:50 PM, Pete French wrote:

Does anybidy know if anything is guaranteed about the alignment of an
NSMutableData object's actual data section ? I want to use one instead
of malloc() to create an array of C structures, but it occcurs to me that
it might not be aligned properly.

Any ideas ?

It's normally aligned safely (as for malloc) under GNUstep.
It's also OK under MacOS-X as far as I know.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]