tools: Don't include wine/unicode.h if not necessary.

This commit is contained in:
Alexandre Julliard 2014-07-08 16:59:36 +02:00
parent 149d60318f
commit 18d410dec1
7 changed files with 2 additions and 19 deletions

View File

@ -2,8 +2,6 @@
/* generated from http://www.unicode.org/Public/vertical/revision-11/VerticalOrientation-11.txt */
/* DO NOT EDIT!! */
#include "wine/unicode.h"
const unsigned short vertical_orientation_table[1536] =
{
/* level 1 offsets */

View File

@ -2,8 +2,6 @@
/* generated from http://www.rfc-editor.org/rfc/rfc3454.txt */
/* DO NOT EDIT!! */
#include "wine/unicode.h"
const unsigned short nameprep_char_type[4432] =
{
/* level 1 offsets */
@ -564,7 +562,7 @@ const unsigned short nameprep_char_type[4432] =
0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001,
0x0001, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002
};
const WCHAR nameprep_mapping[5856] =
const unsigned short nameprep_mapping[5856] =
{
/* index */
0x0110, 0x0120, 0x0130, 0x0140, 0x0150, 0x0160, 0x0100, 0x0100,

View File

@ -3,8 +3,6 @@
/* and from http://www.unicode.org/Public/7.0.0/ucd/IndicMatraCategory.txt */
/* DO NOT EDIT!! */
#include "wine/unicode.h"
const unsigned short indic_syllabic_table[2864] =
{
/* level 1 offsets */

View File

@ -2,8 +2,6 @@
/* generated from http://www.unicode.org/Public/7.0.0/ucd/LineBreak.txt */
/* DO NOT EDIT!! */
#include "wine/unicode.h"
const unsigned short wine_linebreak_table[7232] =
{
/* level 1 offsets */

View File

@ -2,8 +2,6 @@
/* generated from http://www.unicode.org/Public/7.0.0/ucd/ArabicShaping.txt */
/* DO NOT EDIT!! */
#include "wine/unicode.h"
const unsigned short wine_shaping_table[2864] =
{
/* level 1 offsets */

View File

@ -2,8 +2,6 @@
/* generated from http://www.unicode.org/Public/vertical/revision-11/VerticalOrientation-11.txt */
/* DO NOT EDIT!! */
#include "wine/unicode.h"
const unsigned short vertical_orientation_table[1536] =
{
/* level 1 offsets */

View File

@ -1234,7 +1234,6 @@ sub dump_indic($)
print OUTPUT "/* generated from $UNIDATA/IndicSyllabicCategory.txt */\n";
print OUTPUT "/* and from $UNIDATA/IndicMatraCategory.txt */\n";
print OUTPUT "/* DO NOT EDIT!! */\n\n";
print OUTPUT "#include \"wine/unicode.h\"\n\n";
dump_two_level_mapping( "indic_syllabic_table", @indic_table);
@ -1282,7 +1281,6 @@ sub dump_linebreak($)
print OUTPUT "/* Unicode Line Break Properties */\n";
print OUTPUT "/* generated from $UNIDATA/LineBreak.txt */\n";
print OUTPUT "/* DO NOT EDIT!! */\n\n";
print OUTPUT "#include \"wine/unicode.h\"\n\n";
dump_two_level_mapping( "wine_linebreak_table", @break_table);
@ -1358,7 +1356,6 @@ sub dump_shaping($)
print OUTPUT "/* Unicode Arabic shaping */\n";
print OUTPUT "/* generated from $UNIDATA/ArabicShaping.txt */\n";
print OUTPUT "/* DO NOT EDIT!! */\n\n";
print OUTPUT "#include \"wine/unicode.h\"\n\n";
dump_two_level_mapping( "wine_shaping_table", @joining_table );
@ -1419,7 +1416,6 @@ sub dump_vertical($)
print OUTPUT "/* Unicode Vertical Orientation */\n";
print OUTPUT "/* generated from $VERTICALDATA/VerticalOrientation-11.txt */\n";
print OUTPUT "/* DO NOT EDIT!! */\n\n";
print OUTPUT "#include \"wine/unicode.h\"\n\n";
dump_two_level_mapping( "vertical_orientation_table", @vertical_table);
@ -1755,7 +1751,6 @@ sub dump_nameprep($)
print OUTPUT "/* Nameprep algorithm related data */\n";
print OUTPUT "/* generated from $RFCS/$STRINGPREP */\n";
print OUTPUT "/* DO NOT EDIT!! */\n\n";
print OUTPUT "#include \"wine/unicode.h\"\n\n";
dump_two_level_mapping( "nameprep_char_type", @flags_table );
@ -1793,7 +1788,7 @@ sub dump_nameprep($)
}
# dump the main index
printf OUTPUT "const WCHAR nameprep_mapping[%d] =\n", $total;
printf OUTPUT "const unsigned short nameprep_mapping[%d] =\n", $total;
printf OUTPUT "{\n /* index */\n";
printf OUTPUT "%s", DUMP_ARRAY( "0x%04x", 0, @filled_idx );
printf OUTPUT ",\n /* null sub-index */\n%s", DUMP_ARRAY( "0x%04x", 0, ($null_offset) x 16 );