[PATCH 1/4 v4] msvcrt: Make locale and thread helper functions CDECL.

Piotr Caban piotr at codeweavers.com
Tue Nov 10 09:58:37 CST 2020


From: Rémi Bernon <rbernon at codeweavers.com>

This prevent callers from having to save SSE registers to the stack.

It is for instance the case in MSVCRT__towlower_l, which is called on
every character by MSVCRT__wcsicmp_l.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/msvcrt/locale.c | 4 ++--
  dlls/msvcrt/msvcrt.h | 6 +++---
  dlls/msvcrt/thread.c | 2 +-
  3 files changed, 6 insertions(+), 6 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Make-locale-and-thread-helper-functions-CDECL.txt
Type: text/x-patch
Size: 2303 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201110/bd83b2fb/attachment.bin>


More information about the wine-devel mailing list