C (98/304)

From:Jack York
Date:12 Aug 2000 at 21:14:48
Subject:Re: memory allocation fcns

Hello Allan

On 12-Aug-00, Allan Odgaard wrote:
> On 12-Aug-00, Jack York wrote:
>
>> The only advantage I can see to malloc is the related realloc. Is
>> there something similar native to the Amiga that will allow the
>> resizing of allocated memory?
>
> There's AFAIK no magic behind this function, it simply calls malloc,
> memcpy & free.

Gee, that's a lot more simple that I imagined. I feel a function about to
be born. :)

> Though the advantage of using something like malloc is that you can
> overload it, so that you can experiment with different memory
> allocation schemes, without having to change your source. You may even
> have one scheme were you do mungwall sort of checking, including
> incrementing and decrementing a counter, to see if your program leaks
> memory etc.

What does overload mean?

Jack