[fpc-devel] cmem Size Field

Ewald bloody.middlefinger at yellowcouch.org
Fri Oct 19 19:19:43 CEST 2012


Thanks, I just filed the bug: id 23165.

--
Ewald


On 10/19/12 16:11, Jonas Maebe wrote:
>> I see... On the other hand, documentation
>> (http://www.freepascal.org/docs-html/prog/progsu160.html) says that
>> MemSize() should return the total amount of memory available for
>> allocation; and can return 0 in case this functionality is not
>> supported.
>
> It's probably a copy/paste error from the documentation for memavail,
> please file a bug report. Thanks.
>
>> In contrast, the RTL docs postulate that MemSize() should return the
>> size
>> of a previous allocated memory chunk. Which is what I always thought
>> that
>> MemSize() did.
>
> Indeed.



More information about the fpc-devel mailing list