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
a67dca1b
Commit
a67dca1b
authored
Mar 23, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Move wctype tables to libwine_port.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c988910c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
unicode.h
include/wine/unicode.h
+1
-1
Makefile.in
libs/port/Makefile.in
+2
-1
wctype.c
libs/port/wctype.c
+1
-1
Makefile.in
libs/wine/Makefile.in
+1
-2
make_unicode
tools/make_unicode
+3
-3
No files found.
include/wine/unicode.h
View file @
a67dca1b
...
...
@@ -138,7 +138,7 @@ WINE_UNICODE_INLINE WCHAR toupperW( WCHAR ch )
/* and the C2_* type in the high 4 bits */
WINE_UNICODE_INLINE
unsigned
short
get_char_typeW
(
WCHAR
ch
)
{
extern
WINE_UNICODE_API
const
unsigned
short
wine_wctype_table
[];
extern
const
unsigned
short
wine_wctype_table
[];
return
wine_wctype_table
[
wine_wctype_table
[
ch
>>
8
]
+
(
ch
&
0xff
)];
}
...
...
libs/port/Makefile.in
View file @
a67dca1b
...
...
@@ -102,4 +102,5 @@ C_SRCS = \
symlink.c
\
usleep.c
\
utf8.c
\
wctomb.c
wctomb.c
\
wctype.c
libs/
wine
/wctype.c
→
libs/
port
/wctype.c
View file @
a67dca1b
...
...
@@ -3,7 +3,7 @@
#include "wine/unicode.h"
const
unsigned
short
wine_wctype_table
[
17152
]
=
const
unsigned
short
DECLSPEC_HIDDEN
wine_wctype_table
[
17152
]
=
{
/* offsets */
0x0100
,
0x0200
,
0x0300
,
0x0400
,
0x0500
,
0x0600
,
0x0700
,
0x0800
,
...
...
libs/wine/Makefile.in
View file @
a67dca1b
...
...
@@ -11,8 +11,7 @@ C_SRCS = \
mmap.c
\
port.c
\
sortkey.c
\
string.c
\
wctype.c
string.c
EXTRA_OBJS
=
version.o
...
...
tools/make_unicode
View file @
a67dca1b
...
...
@@ -1891,7 +1891,7 @@ sub dump_simple_mapping($$@)
my
$def
=
shift
;
my
@array
=
compress_array
(
256
,
$def
,
@_
[
0
..
65535
]
);
printf
OUTPUT
"const unsigned short %s[%d] =\n{\n"
,
$name
,
$#array
+
1
;
printf
OUTPUT
"const unsigned short
DECLSPEC_HIDDEN
%s[%d] =\n{\n"
,
$name
,
$#array
+
1
;
printf
OUTPUT
" /* offsets */\n%s,\n"
,
DUMP_ARRAY
(
"0x%04x"
,
0
,
@array
[
0
..
255
]
);
printf
OUTPUT
" /* values */\n%s\n};\n"
,
DUMP_ARRAY
(
"0x%04x"
,
0
,
@array
[
256
..
$#array
]
);
}
...
...
@@ -2178,7 +2178,7 @@ sub dump_nameprep($)
################################################################
# dump the ctype tables
sub
DUMP_CTYPE_TABLES
($)
sub
dump_ctype_tables
($)
{
my
$filename
=
shift
;
open
OUTPUT
,
">$filename.new"
or
die
"Cannot create $filename"
;
...
...
@@ -2770,7 +2770,7 @@ DUMP_CASE_MAPPINGS( "libs/wine/casemap.c" );
DUMP_SORTKEYS
(
"libs/wine/collation.c"
,
READ_SORTKEYS_FILE
()
);
dump_compose_table
(
"libs/port/compose.c"
);
dump_decompose_table
(
"libs/port/decompose.c"
);
DUMP_CTYPE_TABLES
(
"libs/wine
/wctype.c"
);
dump_ctype_tables
(
"libs/port
/wctype.c"
);
dump_digit_folding
(
"libs/port/digitmap.c"
);
dump_combining_class
(
"libs/port/combclass.c"
);
dump_mirroring
(
"dlls/usp10/mirror.c"
);
...
...
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