diff options
| author | Robby Zambito <contact@robbyzambito.me> | 2026-01-06 21:56:39 -0500 |
|---|---|---|
| committer | Robby Zambito <contact@robbyzambito.me> | 2026-01-06 21:59:41 -0500 |
| commit | 48969283527e0db6b71893b2b3f3bbeb21e522db (patch) | |
| tree | dee322b777c79ef1cf7133bb65f226488b2cdab7 /src/Server/Client.zig | |
| parent | cc036318387cc5c44f2a0a2a1e28d067f3e6bdf6 (diff) | |
Major restructuring
This makes things much easier to use as a library
Diffstat (limited to 'src/Server/Client.zig')
| -rw-r--r-- | src/Server/Client.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Server/Client.zig b/src/Server/Client.zig index dff3534..9ec928c 100644 --- a/src/Server/Client.zig +++ b/src/Server/Client.zig @@ -1,4 +1,5 @@ -const Message = @import("message_parser.zig").Message; +const parse = @import("parse.zig"); +const Message = parse.Message; const std = @import("std"); const Queue = std.Io.Queue; @@ -193,7 +194,7 @@ test send { } pub fn next(self: *Client, allocator: std.mem.Allocator) !Message { - return Message.next(allocator, self.from_client); + return parse.next(allocator, self.from_client); } test next { |
