libport: Don't hide the casemap and wctype tables.

For libwine backwards compatibility.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-04-02 16:38:04 +02:00
parent 4f1f95b1b3
commit a37c38191e
3 changed files with 8 additions and 8 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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] );
}