What's the right way to implement _wtoi_l?

Alex Henrie alexhenrie24 at gmail.com
Mon Jul 23 23:58:54 CDT 2012


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?

-Alex



More information about the wine-devel mailing list