Amiga-C (83/223)

From:Jack York
Date:13 Aug 2001 at 04:35:54
Subject:[amiga-c] Re: How do I copy clone

Hello Sensei

On 12-Aug-01, Sensei wrote:
> Czesc Jack!
>
> Dnia 10-Aug-01, Jack York napisa�:
>
>> This message wasn't to me but I am curious. I am assuming you mention the
>> above because of memory alignment? It was mentioned before on this list
>> (and I am doing this from memory so who knows how accurate this is :) )
>> that AllocVec and AllocPooled calls AllocMem. And memory obtained with
>> AllocMem is longword aligned. Is this incorrect or did I miss your point
>> entirely?
>
> You're correct. Memory allocated by AllocMem() is and will be long word
> aligned because it's documented in exec.library autodoc.

Yes, I saw that in the docs. But I haven't seen where it says AllocPooled
calls AllocMem. I'm just going on what was said on the list. So in the case of allocating memory for a fib, is there any reason to use AllocDosObject instead
of AllocPooled?

Jack



E-Mail: jyork@twmi.rr.com
Alt: jyork@voyager,net
Home: http://my.voyager.net/~jyork

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/