diff options
Diffstat (limited to 'src/Clip.zig')
| -rw-r--r-- | src/Clip.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Clip.zig b/src/Clip.zig index b4e1187..299d4c6 100644 --- a/src/Clip.zig +++ b/src/Clip.zig @@ -4,7 +4,8 @@ const builtin = @import("builtin"); pub const OSC52 = @import("Clip/OSC52.zig"); // Ideally we would make else be `@compileError` but that // messes up with the interface checking -pub const NSPasteboard = if (builtin.target.os.tag == .macos) @import("Clip/NSPasteboard.zig") else void; +pub const NSPasteboard = + if (builtin.target.os.tag == .macos) @import("Clip/NSPasteboard.zig") else void; // 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 |
