home
tpb

repository View

fix: fixed build error

change ID
korkmyurqrqopuvvrnynxwozvqtsypts
git commit
2f75723e16974bd21762fb64d5f6ce53984b115d
author
Grace Yoder <grace_yoder@outlook.com> - 2026-06-25T16:46:59-06:00
committer
Grace Yoder <grace_yoder@outlook.com> - 2026-06-25T16:47:40-06:00
parents
qszmtxkupkmr
refs
signature
Present (not validated)
fix: fixed build error

tree

type name size
file .crow/build.yml 2096 bytes
file .crow/release.yml 566 bytes
file .gitignore 354 bytes
file LICENSE 1073 bytes
file README.md 632 bytes
file build.zig 1056 bytes
file build.zig.zon 247 bytes
file src/Clip/OSC52.zig 4611 bytes
file src/Clip.zig 1236 bytes
file src/main.zig 1466 bytes

diff

src/main.zig

modified (file → file)

--- a/src/main.zig
+++ b/src/main.zig
@@ -16,10 +16,10 @@
     var clip = try Clip.OSC52.init(std.heap.page_allocator, init.io, std.heap.pageSize());
     defer clip.free();
 
-    run(io, clip);
+    try run(io, &clip);
 }
 
-pub fn run(io: *std.Io, clip: anytype) !void {
+pub fn run(io: std.Io, clip: anytype) !void {
     std.debug.print("\x1b[0;32mCopying the following to Pasteboard\x1b[0m\n", .{});
 
     var buf: [4096]u8 = undefined;