[Scummvm-devel] CHECK_HEAP ?
Kostas Nakos
knakos at phys.uoa.gr
Sat Sep 23 11:57:20 CEST 2006
Travis Howell wrote:
> From: "Max Horn" <max at quendi.de>
>> is anybody / anything still using CHECK_HEAP, or can it be removed?
>> It's only used in a few spots in the scumm engine and nowhere else
>> anyway...
>
> It is used to help debug heap-related problems under Windows NT/2000/XP, by
> checking for minimal consistency of the heap (check '_heapchk' on MSDN web
> site for more detail). Considering how little it is used in ScummVM, it
> might as well be removed, I have never had checkheap() error triggered
> myself.
It is also "used" by the Windows CE port for exactly the same reasons. I
use the quotation marks as I can't seem to find a reference to it from
anywhere. So I agree with Kirben on this, we may as well let it go.
Kostas
More information about the Scummvm-devel
mailing list