From: | Jack York |
Date: | 13 Aug 2001 at 08:22:36 |
Subject: | [amiga-c] Re: How do I copy clone |
Hello Gunther
On 13-Aug-01, Gunther Nikl wrote:
>> Yes, I saw that in the docs. But I haven't seen where it says AllocPooled
>> calls AllocMem.
>
> For a reason since it doesn't matter at all. AllocPooled() can do
> whatever
> it wants to allocate the memory. *Currently* it might use AllocMem() to
> allocate a pool (AllocPooled() probably manages the pools with
> Allocate()).
> In either case long-word alignment is guaranteed (For AllocMem() the
> alignment is MEM_BLOCKSIZE)
>
>> 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?
>
> *Compatibility*
> Use system functions to allocate system structure if there is a function
> to do so.
Great, thanks for the clarification Gunther. :)
Jack
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/