summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Sam Atman2025-04-30 20:32:23 -0400
committerGravatar Sam Atman2025-04-30 20:32:23 -0400
commita7164d9e7b3c3ec6813e06a42d82180d766e15ca (patch)
treeb9c55a45ddac98e51653cb64d39b6b26cfb50362 /src
parentAllocation Failure Tests (diff)
downloadzg-a7164d9e7b3c3ec6813e06a42d82180d766e15ca.tar.gz
zg-a7164d9e7b3c3ec6813e06a42d82180d766e15ca.tar.xz
zg-a7164d9e7b3c3ec6813e06a42d82180d766e15ca.zip
Unicode 16.0
Went smoothly, needed to add some scripts and adjust the magic numbers, but other than that, all set.
Diffstat (limited to 'src')
-rw-r--r--src/Scripts.zig8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Scripts.zig b/src/Scripts.zig
index fd5fde9..3bc90bc 100644
--- a/src/Scripts.zig
+++ b/src/Scripts.zig
@@ -46,6 +46,7 @@ pub const Script = enum {
46 Elbasan, 46 Elbasan,
47 Elymaic, 47 Elymaic,
48 Ethiopic, 48 Ethiopic,
49 Garay,
49 Georgian, 50 Georgian,
50 Glagolitic, 51 Glagolitic,
51 Gothic, 52 Gothic,
@@ -54,6 +55,7 @@ pub const Script = enum {
54 Gujarati, 55 Gujarati,
55 Gunjala_Gondi, 56 Gunjala_Gondi,
56 Gurmukhi, 57 Gurmukhi,
58 Gurung_Khema,
57 Han, 59 Han,
58 Hangul, 60 Hangul,
59 Hanifi_Rohingya, 61 Hanifi_Rohingya,
@@ -76,6 +78,7 @@ pub const Script = enum {
76 Khmer, 78 Khmer,
77 Khojki, 79 Khojki,
78 Khudawadi, 80 Khudawadi,
81 Kirat_Rai,
79 Lao, 82 Lao,
80 Latin, 83 Latin,
81 Lepcha, 84 Lepcha,
@@ -113,6 +116,7 @@ pub const Script = enum {
113 Nyiakeng_Puachue_Hmong, 116 Nyiakeng_Puachue_Hmong,
114 Ogham, 117 Ogham,
115 Ol_Chiki, 118 Ol_Chiki,
119 Ol_Onal,
116 Old_Hungarian, 120 Old_Hungarian,
117 Old_Italic, 121 Old_Italic,
118 Old_North_Arabian, 122 Old_North_Arabian,
@@ -144,6 +148,7 @@ pub const Script = enum {
144 Sora_Sompeng, 148 Sora_Sompeng,
145 Soyombo, 149 Soyombo,
146 Sundanese, 150 Sundanese,
151 Sunuwar,
147 Syloti_Nagri, 152 Syloti_Nagri,
148 Syriac, 153 Syriac,
149 Tagalog, 154 Tagalog,
@@ -161,7 +166,9 @@ pub const Script = enum {
161 Tibetan, 166 Tibetan,
162 Tifinagh, 167 Tifinagh,
163 Tirhuta, 168 Tirhuta,
169 Todhri,
164 Toto, 170 Toto,
171 Tulu_Tigalari,
165 Ugaritic, 172 Ugaritic,
166 Vai, 173 Vai,
167 Vithkuqi, 174 Vithkuqi,
@@ -171,7 +178,6 @@ pub const Script = enum {
171 Yi, 178 Yi,
172 Zanabazar_Square, 179 Zanabazar_Square,
173}; 180};
174
175const Scripts = @This(); 181const Scripts = @This();
176 182
177pub fn init(allocator: Allocator) Allocator.Error!Scripts { 183pub fn init(allocator: Allocator) Allocator.Error!Scripts {