Module: wine Branch: master Commit: 8f30305049ded06fc89f61a93dd442c8e1024881 URL: https://gitlab.winehq.org/wine/wine/-/commit/8f30305049ded06fc89f61a93dd442c...
Author: Bartosz Kosiorek gang65@poczta.onet.pl Date: Tue Nov 7 23:06:28 2023 +0100
msvcrt: Add __iswcsymf implementation.
---
dlls/msvcr100/msvcr100.spec | 2 +- dlls/msvcr110/msvcr110.spec | 2 +- dlls/msvcr120/msvcr120.spec | 2 +- dlls/msvcr120_app/msvcr120_app.spec | 2 +- dlls/msvcr80/msvcr80.spec | 2 +- dlls/msvcr90/msvcr90.spec | 2 +- dlls/msvcrt/ctype.c | 8 ++++++++ dlls/ucrtbase/ucrtbase.spec | 2 +- 8 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/dlls/msvcr100/msvcr100.spec b/dlls/msvcr100/msvcr100.spec index 6e0148d1b6b..de6265dbeff 100644 --- a/dlls/msvcr100/msvcr100.spec +++ b/dlls/msvcr100/msvcr100.spec @@ -599,7 +599,7 @@ @ cdecl __iscsym(long) @ cdecl __iscsymf(long) @ cdecl __iswcsym(long) -@ stub __iswcsymf +@ cdecl __iswcsymf(long) # extern __lconv @ cdecl __lconv_init() @ cdecl -arch=i386 -norelay __libm_sse2_acos() diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec index c92c984748f..8db709f894f 100644 --- a/dlls/msvcr110/msvcr110.spec +++ b/dlls/msvcr110/msvcr110.spec @@ -947,7 +947,7 @@ @ cdecl __iscsym(long) @ cdecl __iscsymf(long) @ cdecl __iswcsym(long) -@ stub __iswcsymf +@ cdecl __iswcsymf(long) @ stdcall -arch=arm __jump_unwind(ptr ptr) ntdll.__jump_unwind # extern __lconv @ cdecl __lconv_init() diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec index 5c525f8d1af..6aae69fdea4 100644 --- a/dlls/msvcr120/msvcr120.spec +++ b/dlls/msvcr120/msvcr120.spec @@ -938,7 +938,7 @@ @ cdecl __iscsym(long) @ cdecl __iscsymf(long) @ cdecl __iswcsym(long) -@ stub __iswcsymf +@ cdecl __iswcsymf(long) @ stdcall -arch=arm __jump_unwind(ptr ptr) ntdll.__jump_unwind # extern __lconv @ cdecl __lconv_init() diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec index 1b11b90da92..2b2949cdc66 100644 --- a/dlls/msvcr120_app/msvcr120_app.spec +++ b/dlls/msvcr120_app/msvcr120_app.spec @@ -915,7 +915,7 @@ @ cdecl __iscsym(long) msvcr120.__iscsym @ cdecl __iscsymf(long) msvcr120.__iscsymf @ cdecl __iswcsym(long) msvcr120.__iswcsym -@ stub __iswcsymf +@ cdecl __iswcsymf(long) msvcr120.__iswcsymf @ stdcall -arch=arm __jump_unwind(ptr ptr) msvcr120.__jump_unwind # extern __lconv @ cdecl __lconv_init() msvcr120.__lconv_init diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec index 22fdab9bacd..509343870a4 100644 --- a/dlls/msvcr80/msvcr80.spec +++ b/dlls/msvcr80/msvcr80.spec @@ -238,7 +238,7 @@ @ cdecl __iscsym(long) @ cdecl __iscsymf(long) @ cdecl __iswcsym(long) -@ stub __iswcsymf +@ cdecl __iswcsymf(long) # extern __lc_clike @ extern __lc_codepage MSVCRT___lc_codepage @ extern __lc_collate_cp MSVCRT___lc_collate_cp diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec index 67f6cc77c46..119aa34c55f 100644 --- a/dlls/msvcr90/msvcr90.spec +++ b/dlls/msvcr90/msvcr90.spec @@ -227,7 +227,7 @@ @ cdecl __iscsym(long) @ cdecl __iscsymf(long) @ cdecl __iswcsym(long) -@ stub __iswcsymf +@ cdecl __iswcsymf(long) # extern __lc_clike @ extern __lc_codepage MSVCRT___lc_codepage @ extern __lc_collate_cp MSVCRT___lc_collate_cp diff --git a/dlls/msvcrt/ctype.c b/dlls/msvcrt/ctype.c index 7e12841c91f..a1805324c1f 100644 --- a/dlls/msvcrt/ctype.c +++ b/dlls/msvcrt/ctype.c @@ -460,6 +460,14 @@ int CDECL __iswcsym(wint_t c) return (iswalnum(c) || c == '_'); }
+/********************************************************************* + * __iswcsymf (MSVCRT.@) + */ +int CDECL __iswcsymf(wint_t c) +{ + return (iswalpha(c) || c == '_'); +} + /********************************************************************* * _toupper_l (MSVCRT.@) */ diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec index f010f3eee37..7e02dd203c6 100644 --- a/dlls/ucrtbase/ucrtbase.spec +++ b/dlls/ucrtbase/ucrtbase.spec @@ -100,7 +100,7 @@ @ cdecl __iscsym(long) @ cdecl __iscsymf(long) @ cdecl __iswcsym(long) -@ stub __iswcsymf +@ cdecl __iswcsymf(long) @ stdcall -arch=arm __jump_unwind(ptr ptr) ntdll.__jump_unwind @ cdecl -arch=i386 -norelay __libm_sse2_acos() @ cdecl -arch=i386 -norelay __libm_sse2_acosf()