mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 11:44:48 +00:00
Major restructuring
This makes things much easier to use as a library
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user