unicode: Switch compose_second_single to gunichar

This will be required for the update to unicode 7.0.0.
This commit is contained in:
Christian Persch 2014-06-19 19:29:16 +02:00 committed by Matthias Clasen
parent 7e3d32b705
commit 30ed5f53e2

View File

@ -1323,12 +1323,9 @@ sub output_composition_table
# Output second singletons
print OUT "static const guint16 compose_second_single[][2] = {\n";
print OUT "static const gunichar compose_second_single[][2] = {\n";
$i = 0;
for $record (@second_singletons) {
if ($record->[1] > 0xFFFF or $record->[2] > 0xFFFF) {
die "time to switch compose_second_single to gunichar";
}
print OUT ",\n" if $i++ > 0;
printf OUT " { %#06x, %#06x }", $record->[1], $record->[2];
}