diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-06-29 09:45:37 -0600 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-06-30 16:33:26 -0600 |
| commit | 565174c4b8c73e9e28524709060335a0b17ee3fb (patch) | |
| tree | 4e642c58ef4f4c227b29537be56183c73d9b5179 /src/Clip.zig | |
| parent | 2f75723e16974bd21762fb64d5f6ce53984b115d (diff) | |
feat(NSPasteboard): added objective c bridge and build changes
Diffstat (limited to 'src/Clip.zig')
| -rw-r--r-- | src/Clip.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Clip.zig b/src/Clip.zig index 8d264c8..1adeeb0 100644 --- a/src/Clip.zig +++ b/src/Clip.zig @@ -1,4 +1,5 @@ pub const OSC52 = @import("Clip/OSC52.zig"); +// pub const PBCopy = if (@import("builtin").os.tag == .macos) @import("Clip/OSC52.zig") else null; // I am not sure if this is super idiomatic Zig or if this is bad practice, but // by ensuring that all Clip backends implement the same methods, we are able @@ -15,6 +16,8 @@ fn assertFn(comptime T: type, comptime name: []const u8, comptime Sig: type) voi } test { + _ = @import("Clip/NSPasteBoard.zig"); + inline for (@typeInfo(@This()).@"struct".decls) |decl| { // Only grab types of structs const T = @field(@This(), decl.name); |
