[winetest] Use of HeapAlloc and friends

Ferenc Wagner wferi at niif.hu
Thu Aug 23 10:26:52 CDT 2007


Paul Vriens <paul.vriens.wine at gmail.com> writes:

> Ferenc Wagner wrote:
>> Paul Vriens <paul.vriens.wine at gmail.com> writes:
>>
>>> Is there any particular reason we don't use HeapAlloc/HeapReAlloc in
>>> winetest? The rest of our programs do, but winetest uses malloc and
>>> realloc.
>>
>> I can't recall any.  I'm more comfortable with the latter, since
>> winetest is the only Win32 application I've ever written.
>
> So when I add functionality should I use malloc or can we use a mix?
> Should winetest be changed to use HeapAlloc?

That I can't tell.  At least I haven't heard a single objection
against my style in this respect.  Mixing the two doesn't sound like a
particularly compelling idea for me.
-- 
Cheers,
Feri.



More information about the wine-devel mailing list