blob: 83110f0fd1f6cac06eb6777856f5a03e91706837 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
const std = @import("std");
const mem = std.mem;
const CanonData = @import("CanonData");
const CccData = @import("CombiningData");
const CompatData = @import("CompatData");
canon_data: CanonData,
ccc_data: CccData,
compat_data: CompatData,
const Self = @This();
pub fn init(allocator: std.mem.Allocator) !Self {
return Self{
.canon_data = try CanonData.init(allocator),
.ccc_data = try CccData.init(allocator),
.compat_data = try CompatData.init(allocator),
};
}
pub fn deinit(self: *Self) void {
self.canon_data.deinit();
self.ccc_data.deinit();
self.compat_data.deinit();
}
|