Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1f5930af
Commit
1f5930af
authored
Nov 26, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Move towctrans to wcs.c file.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3073097d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
12 deletions
+13
-12
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
locale.c
dlls/msvcrt/locale.c
+0
-10
wcs.c
dlls/msvcrt/wcs.c
+11
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+1
-1
No files found.
dlls/msvcr120/msvcr120.spec
View file @
1f5930af
...
...
@@ -2414,7 +2414,7 @@
@ cdecl tmpnam_s(ptr long) MSVCRT_tmpnam_s
@ cdecl tolower(long) MSVCRT_tolower
@ cdecl toupper(long) MSVCRT_toupper
@ cdecl towctrans(long long)
MSVCR120_towctrans
@ cdecl towctrans(long long)
@ cdecl towlower(long) MSVCRT_towlower
@ cdecl towupper(long) MSVCRT_towupper
@ cdecl trunc(double) MSVCR120_trunc
...
...
dlls/msvcrt/locale.c
View file @
1f5930af
...
...
@@ -2148,14 +2148,4 @@ wctrans_t CDECL MSVCR120_wctrans(const char *property)
return
1
;
return
0
;
}
/*********************************************************************
* towctrans (MSVCR120.@)
*/
MSVCRT_wint_t
CDECL
MSVCR120_towctrans
(
MSVCRT_wint_t
c
,
wctrans_t
category
)
{
if
(
category
==
1
)
return
MSVCRT__towupper_l
(
c
,
NULL
);
return
MSVCRT__towlower_l
(
c
,
NULL
);
}
#endif
dlls/msvcrt/wcs.c
View file @
1f5930af
...
...
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <wctype.h>
#include "msvcrt.h"
#include "winnls.h"
#include "wtypes.h"
...
...
@@ -137,6 +138,16 @@ INT CDECL MSVCRT__wcsicmp_l(const MSVCRT_wchar_t *str1, const MSVCRT_wchar_t *st
}
/*********************************************************************
* towctrans (MSVCR120.@)
*/
wint_t
CDECL
towctrans
(
wint_t
c
,
wctrans_t
category
)
{
if
(
category
==
1
)
return
MSVCRT__towupper_l
(
c
,
NULL
);
return
MSVCRT__towlower_l
(
c
,
NULL
);
}
/*********************************************************************
* _wcsicmp (MSVCRT.@)
*/
INT
CDECL
MSVCRT__wcsicmp
(
const
MSVCRT_wchar_t
*
str1
,
const
MSVCRT_wchar_t
*
str2
)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
1f5930af
...
...
@@ -2543,7 +2543,7 @@
@ cdecl tmpnam_s(ptr long) MSVCRT_tmpnam_s
@ cdecl tolower(long) MSVCRT_tolower
@ cdecl toupper(long) MSVCRT_toupper
@ cdecl towctrans(long long)
MSVCR120_towctrans
@ cdecl towctrans(long long)
@ cdecl towlower(long) MSVCRT_towlower
@ cdecl towupper(long) MSVCRT_towupper
@ cdecl trunc(double) MSVCR120_trunc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment