What's the right way to implement _wtoi_l?
André Hentschel
nerv at dawncrow.de
Tue Jul 24 15:59:31 CDT 2012
Am 24.07.2012 06:58, schrieb Alex Henrie:
> 2012/7/23 Austin English <austinenglish at gmail.com>:
>> Judging by similar recent commits
>> (http://source.winehq.org/git/wine.git/commitdiff/f320f6cf4843eab3d22b60674808e4e3de964b5a),
>> 1 seems to be the way to go.
>
> Thanks for the answer. What makes me uneasy about this approach is
> that if I want to duplicate the tests for wtoi, there are a LOT of
> them:
> http://source.winehq.org/git/wine.git/blob/7b89de9e481cf8cca264dc48c444f2c33537afad:/dlls/ntdll/tests/string.c#l785
>
> Could I just copy the wtoi code and not the tests? Also, out of
> curiosity, why can't you call a function in ntdll.dll from msvcrt.dll?
FWIW, i choosed that way because the implementation differed already in the function prototype.
--
Best Regards, André Hentschel
More information about the wine-devel
mailing list