mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:17:14 +00:00
make_unicode: Don't use DECLSPEC_HIDDEN.
This commit is contained in:
parent
cd56a1c164
commit
a5f62b3ef7
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN bidi_bracket_table[572] =
|
const unsigned short bidi_bracket_table[572] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108,
|
0x0100, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN bidi_direction_table[5631] =
|
const unsigned short bidi_direction_table[5631] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN wine_linebreak_table[9976] =
|
const unsigned short wine_linebreak_table[9976] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0110, 0x0120, 0x0130, 0x0140, 0x0143, 0x0151, 0x0151, 0x0151,
|
0x0110, 0x0120, 0x0130, 0x0140, 0x0143, 0x0151, 0x0151, 0x0151,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN wine_mirror_map[1428] =
|
const unsigned short wine_mirror_map[1428] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c,
|
0x0100, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN wine_scripts_table[10323] =
|
const unsigned short wine_scripts_table[10323] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN arabic_shaping_table[3547] =
|
const unsigned short arabic_shaping_table[3547] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0110, 0x0120, 0x0130, 0x0140, 0x0141, 0x0141, 0x0141, 0x0141,
|
0x0110, 0x0120, 0x0130, 0x0140, 0x0141, 0x0141, 0x0141, 0x0141,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN bidi_bracket_table[572] =
|
const unsigned short bidi_bracket_table[572] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108,
|
0x0100, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108, 0x0108,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN bidi_direction_table[5631] =
|
const unsigned short bidi_direction_table[5631] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN indic_syllabic_table[3033] =
|
const unsigned short indic_syllabic_table[3033] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x010e, 0x010e, 0x010e, 0x010e, 0x010e, 0x010e, 0x010e,
|
0x0100, 0x010e, 0x010e, 0x010e, 0x010e, 0x010e, 0x010e, 0x010e,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN wine_linebreak_table[9976] =
|
const unsigned short wine_linebreak_table[9976] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0110, 0x0120, 0x0130, 0x0140, 0x0143, 0x0151, 0x0151, 0x0151,
|
0x0110, 0x0120, 0x0130, 0x0140, 0x0143, 0x0151, 0x0151, 0x0151,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN wine_mirror_map[1428] =
|
const unsigned short wine_mirror_map[1428] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c,
|
0x0100, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c, 0x010c,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN wine_shaping_table[2114] =
|
const unsigned short wine_shaping_table[2114] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x010b, 0x010b, 0x011b, 0x0123, 0x012c, 0x013b, 0x014b,
|
0x0100, 0x010b, 0x010b, 0x011b, 0x0123, 0x012c, 0x013b, 0x014b,
|
||||||
|
@ -276,7 +276,7 @@ const unsigned short DECLSPEC_HIDDEN wine_shaping_table[2114] =
|
||||||
0x0006, 0x0000, 0x0000, 0x0000, 0x0000
|
0x0006, 0x0000, 0x0000, 0x0000, 0x0000
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN wine_shaping_forms[256][4] =
|
const unsigned short wine_shaping_forms[256][4] =
|
||||||
{
|
{
|
||||||
{ 0x0600, 0x0600, 0x0600, 0x0600 },
|
{ 0x0600, 0x0600, 0x0600, 0x0600 },
|
||||||
{ 0x0601, 0x0601, 0x0601, 0x0601 },
|
{ 0x0601, 0x0601, 0x0601, 0x0601 },
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN vertical_orientation_table[1248] =
|
const unsigned short vertical_orientation_table[1248] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x0110, 0x0112, 0x0110, 0x0110, 0x0110, 0x0110, 0x0110,
|
0x0100, 0x0110, 0x0112, 0x0110, 0x0110, 0x0110, 0x0110, 0x0110,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN bidi_direction_table[5631] =
|
const unsigned short bidi_direction_table[5631] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
0x0110, 0x0120, 0x0130, 0x0140, 0x0144, 0x0152, 0x0152, 0x0152,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
||||||
const unsigned short DECLSPEC_HIDDEN vertical_orientation_table[1248] =
|
const unsigned short vertical_orientation_table[1248] =
|
||||||
{
|
{
|
||||||
/* level 1 offsets */
|
/* level 1 offsets */
|
||||||
0x0100, 0x0110, 0x0112, 0x0110, 0x0110, 0x0110, 0x0110, 0x0110,
|
0x0100, 0x0110, 0x0112, 0x0110, 0x0110, 0x0110, 0x0110, 0x0110,
|
||||||
|
|
|
@ -3115,7 +3115,7 @@ sub dump_shaping($)
|
||||||
|
|
||||||
dump_two_level_mapping( "wine_shaping_table", 0, 16, @joining_table );
|
dump_two_level_mapping( "wine_shaping_table", 0, 16, @joining_table );
|
||||||
|
|
||||||
print OUTPUT "\nconst unsigned short DECLSPEC_HIDDEN wine_shaping_forms[256][4] =\n{\n";
|
print OUTPUT "\nconst unsigned short wine_shaping_forms[256][4] =\n{\n";
|
||||||
for (my $i = 0x600; $i <= 0x6ff; $i++)
|
for (my $i = 0x600; $i <= 0x6ff; $i++)
|
||||||
{
|
{
|
||||||
printf OUTPUT " { 0x%04x, 0x%04x, 0x%04x, 0x%04x },\n",
|
printf OUTPUT " { 0x%04x, 0x%04x, 0x%04x, 0x%04x },\n",
|
||||||
|
@ -3283,7 +3283,7 @@ sub dump_two_level_mapping($$$@)
|
||||||
|
|
||||||
for (my $i = 0; $i < @row_data; $i++) { $row_data[$i] += @row_data + 256 - 4096; }
|
for (my $i = 0; $i < @row_data; $i++) { $row_data[$i] += @row_data + 256 - 4096; }
|
||||||
|
|
||||||
printf OUTPUT "const %s DECLSPEC_HIDDEN %s[%d] =\n{\n", $type, $name, @array + @row_data + @data;
|
printf OUTPUT "const %s %s[%d] =\n{\n", $type, $name, @array + @row_data + @data;
|
||||||
printf OUTPUT " /* level 1 offsets */\n%s,\n", dump_array( $size, 0, @array );
|
printf OUTPUT " /* level 1 offsets */\n%s,\n", dump_array( $size, 0, @array );
|
||||||
printf OUTPUT " /* level 2 offsets */\n%s,\n", dump_array( $size, 0, @row_data );
|
printf OUTPUT " /* level 2 offsets */\n%s,\n", dump_array( $size, 0, @row_data );
|
||||||
printf OUTPUT " /* values */\n%s\n};\n", dump_array( $size, 0, @data );
|
printf OUTPUT " /* values */\n%s\n};\n", dump_array( $size, 0, @data );
|
||||||
|
@ -3307,7 +3307,7 @@ sub dump_three_level_mapping($$@)
|
||||||
for (my $i = $level2; $i < @array2; $i++) { $array2[$i] += @array1 + @array2 - $level2 - $level3; }
|
for (my $i = $level2; $i < @array2; $i++) { $array2[$i] += @array1 + @array2 - $level2 - $level3; }
|
||||||
for (my $i = $level1; $i < @array1; $i++) { $array1[$i] += @array1 - $level2; }
|
for (my $i = $level1; $i < @array1; $i++) { $array1[$i] += @array1 - $level2; }
|
||||||
|
|
||||||
printf OUTPUT "const %s DECLSPEC_HIDDEN %s[%u] =\n{\n", $type, $name, @array1 + (@array2 - $level2) + (@array3 - $level3);
|
printf OUTPUT "const %s %s[%u] =\n{\n", $type, $name, @array1 + (@array2 - $level2) + (@array3 - $level3);
|
||||||
printf OUTPUT " /* level 1 offsets */\n%s,\n", dump_array( $size, 0, @array1[0..$level1-1] );
|
printf OUTPUT " /* level 1 offsets */\n%s,\n", dump_array( $size, 0, @array1[0..$level1-1] );
|
||||||
printf OUTPUT " /* level 2 offsets */\n%s,\n", dump_array( $size, 0, @array1[$level1..$#array1] );
|
printf OUTPUT " /* level 2 offsets */\n%s,\n", dump_array( $size, 0, @array1[$level1..$#array1] );
|
||||||
printf OUTPUT " /* level 3 offsets */\n%s,\n", dump_array( $size, 0, @array2[$level2..$#array2] );
|
printf OUTPUT " /* level 3 offsets */\n%s,\n", dump_array( $size, 0, @array2[$level2..$#array2] );
|
||||||
|
|
Loading…
Reference in a new issue