Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c)
commit305ead6205316cf326493cf88db32678570eb9ae
authorFrancois Gouget <fgouget@free.fr>
Thu, 19 Dec 2002 01:03:48 +0000 (19 01:03 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 19 Dec 2002 01:03:48 +0000 (19 01:03 +0000)
tree979833a44dac548d5c8f9c7c2801f27bb2ef7c79
parent4b1479c9906731195c9dac98bc076b70da15425b
Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c)
Remove the DISCARD_DEFINED #ifdefs.
Remove another double HeapFree (caused an assert when run on NT4),
and a HeapSize on a freed heap (the test failed on Win9x).
Fix the LocalLock/LocalUnlock tests (the memory must be allocated
with LMEM_MOVEABLE otherwise the tests don't make sense).
Remove many unnecessary casts.
Improved error reporting somewhat.
dlls/kernel/tests/alloc.c
include/winbase.h