mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
unicode: Switch compose_second_single to gunichar
This will be required for the update to unicode 7.0.0.
This commit is contained in:
parent
7e3d32b705
commit
30ed5f53e2
@ -1323,12 +1323,9 @@ sub output_composition_table
|
|||||||
|
|
||||||
# Output second singletons
|
# 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;
|
$i = 0;
|
||||||
for $record (@second_singletons) {
|
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;
|
print OUT ",\n" if $i++ > 0;
|
||||||
printf OUT " { %#06x, %#06x }", $record->[1], $record->[2];
|
printf OUT " { %#06x, %#06x }", $record->[1], $record->[2];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user