diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Grapheme.zig | 3 | ||||
| -rw-r--r-- | src/main.zig | 7 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/Grapheme.zig b/src/Grapheme.zig index 41f3e16..888fcd4 100644 --- a/src/Grapheme.zig +++ b/src/Grapheme.zig | |||
| @@ -3,8 +3,7 @@ | |||
| 3 | const std = @import("std"); | 3 | const std = @import("std"); |
| 4 | const unicode = std.unicode; | 4 | const unicode = std.unicode; |
| 5 | 5 | ||
| 6 | const ziglyph = @import("ziglyph"); | 6 | const CodePoint = @import("CodePoint"); |
| 7 | const CodePoint = @import("CodePoint.zig"); | ||
| 8 | const CodePointIterator = CodePoint.CodePointIterator; | 7 | const CodePointIterator = CodePoint.CodePointIterator; |
| 9 | const gbp = @import("gbp"); | 8 | const gbp = @import("gbp"); |
| 10 | 9 | ||
diff --git a/src/main.zig b/src/main.zig index a78c1dc..fe49300 100644 --- a/src/main.zig +++ b/src/main.zig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | // const GraphemeIterator = @import("ziglyph").GraphemeIterator; | 3 | // const GraphemeIterator = @import("ziglyph").GraphemeIterator; |
| 4 | const GraphemeIterator = @import("Grapheme.zig").GraphemeIterator; | 4 | const GraphemeIterator = @import("Grapheme").GraphemeIterator; |
| 5 | 5 | ||
| 6 | pub fn main() !void { | 6 | pub fn main() !void { |
| 7 | var gpa = std.heap.GeneralPurposeAllocator(.{}){}; | 7 | var gpa = std.heap.GeneralPurposeAllocator(.{}){}; |
| @@ -23,8 +23,3 @@ pub fn main() !void { | |||
| 23 | 23 | ||
| 24 | std.debug.print("result: {}, took: {}\n", .{ result, timer.lap() / std.time.ns_per_ms }); | 24 | std.debug.print("result: {}, took: {}\n", .{ result, timer.lap() / std.time.ns_per_ms }); |
| 25 | } | 25 | } |
| 26 | |||
| 27 | test { | ||
| 28 | _ = @import("CodePoint.zig"); | ||
| 29 | _ = @import("Grapheme.zig"); | ||
| 30 | } | ||