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
a37c3819
Commit
a37c3819
authored
Apr 02, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Don't hide the casemap and wctype tables.
For libwine backwards compatibility. Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4f1f95b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
casemap.c
libs/port/casemap.c
+2
-2
wctype.c
libs/port/wctype.c
+1
-1
make_unicode
tools/make_unicode
+5
-5
No files found.
libs/port/casemap.c
View file @
a37c3819
...
...
@@ -4,7 +4,7 @@
#include "wine/unicode.h"
const
WCHAR
DECLSPEC_HIDDEN
wine_casemap_lower
[
4259
]
=
const
WCHAR
wine_casemap_lower
[
4259
]
=
{
/* index */
0x01bf
,
0x02bf
,
0x03bf
,
0x044f
,
0x054f
,
0x064f
,
0x0100
,
0x0100
,
...
...
@@ -562,7 +562,7 @@ const WCHAR DECLSPEC_HIDDEN wine_casemap_lower[4259] =
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
,
0x0000
};
const
WCHAR
DECLSPEC_HIDDEN
wine_casemap_upper
[
4828
]
=
const
WCHAR
wine_casemap_upper
[
4828
]
=
{
/* index */
0x019f
,
0x029f
,
0x039f
,
0x045a
,
0x0556
,
0x0656
,
0x0100
,
0x0100
,
...
...
libs/port/wctype.c
View file @
a37c3819
...
...
@@ -3,7 +3,7 @@
#include "wine/unicode.h"
const
unsigned
short
DECLSPEC_HIDDEN
wine_wctype_table
[
17152
]
=
const
unsigned
short
wine_wctype_table
[
17152
]
=
{
/* offsets */
0x0100
,
0x0200
,
0x0300
,
0x0400
,
0x0500
,
0x0600
,
0x0700
,
0x0800
,
...
...
tools/make_unicode
View file @
a37c3819
...
...
@@ -1599,7 +1599,7 @@ sub dump_mirroring($)
print
OUTPUT
"/* generated from $UNIDATA/BidiMirroring.txt */\n"
;
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"wine/unicode.h\"\n\n"
;
dump_case_table
(
"wine_mirror_map"
,
@mirror_table
);
dump_case_table
(
"
DECLSPEC_HIDDEN
wine_mirror_map"
,
@mirror_table
);
close
OUTPUT
;
save_file
(
$filename
);
}
...
...
@@ -1757,9 +1757,9 @@ sub dump_digit_folding($)
print
OUTPUT
"/* DO NOT EDIT!! */\n\n"
;
print
OUTPUT
"#include \"wine/unicode.h\"\n\n"
;
dump_case_table
(
"wine_digitmap"
,
@digitmap_table
);
dump_case_table
(
"
DECLSPEC_HIDDEN
wine_digitmap"
,
@digitmap_table
);
print
OUTPUT
"\n"
;
dump_case_table
(
"wine_compatmap"
,
@compatmap_table
);
dump_case_table
(
"
DECLSPEC_HIDDEN
wine_compatmap"
,
@compatmap_table
);
close
OUTPUT
;
save_file
(
$filename
);
}
...
...
@@ -1836,7 +1836,7 @@ sub dump_case_table($@)
# dump the table
printf
OUTPUT
"const WCHAR
DECLSPEC_HIDDEN
%s[%d] =\n"
,
$name
,
$index
*
256
+
512
-
$removed
;
printf
OUTPUT
"const WCHAR %s[%d] =\n"
,
$name
,
$index
*
256
+
512
-
$removed
;
printf
OUTPUT
"{\n /* index */\n"
;
printf
OUTPUT
"%s,\n"
,
DUMP_ARRAY
(
"0x%04x"
,
256
,
@filled
);
printf
OUTPUT
" /* defaults */\n"
;
...
...
@@ -1892,7 +1892,7 @@ sub dump_simple_mapping($$@)
my
$def
=
shift
;
my
@array
=
compress_array
(
256
,
$def
,
@_
[
0
..
65535
]
);
printf
OUTPUT
"const unsigned short
DECLSPEC_HIDDEN
%s[%d] =\n{\n"
,
$name
,
$#array
+
1
;
printf
OUTPUT
"const unsigned short %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
]
);
}
...
...
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