El 20/04/2007, a las 6:23, Frank Condello escribió:

> I'm pretty sure NewPtr calls down to malloc eventually (in newer
> versions of OS X at least) but it might do some other nasty stuff for
> backwards compatibility. Regardless, I don't foresee ever needing
> allocations of that size - I just need guaranteed alignment.
>
> Frank.
> <http://developer.chaoticbox.com/>
> <http://macgameblog.com/>
>
> On 19-Apr-07, at 10:01 PM, Peter K. Stys wrote:
>
>> I believe NewMemoryblock uses Apple's NewPtr call so you can check
>> there (I had a problem with 1GB block limits and this was the reason;
>> malloc has no such limit, or at least 2-4GB, ASFAIK)
>>
>> Peter.
>>
>> On 4/19/07, Frank Condello <[EMAIL PROTECTED]> wrote:
>>> I've started declaring into Accelerate.framework and have read that
>>> Mac OS X's malloc always uses 16-byte alignment, but I was wondering
>>> if I could rely on this alignment from an RB-supplied MemoryBlock. I
>>> know this has been discussed before but I couldn't find a definitive
>>> yes or no - I suspect (and hope) the answer is yes, if not, I've got
>>> a bit more work to do!
>>>
>>> TIA,
>>> Frank.

Not sure if it helps...... but in http://www.nilobject.com/page/3/   
can I read:
"On Mac OS X malloc automatically aligns 16 bytes and pads out  
allocations to 16-byte offsets.....:"

Cheers. Fylgje
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to