aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/pkg/macos/main.zig
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-10 21:51:57 +0300
committerGitHub <noreply@github.com>2026-09-10 21:51:57 +0300
commit425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch)
treee52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/pkg/macos/main.zig
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/pkg/macos/main.zig')
-rw-r--r--vendor/libghostty-vt/pkg/macos/main.zig20
1 files changed, 1 insertions, 19 deletions
diff --git a/vendor/libghostty-vt/pkg/macos/main.zig b/vendor/libghostty-vt/pkg/macos/main.zig
index e4f4b950..68d61567 100644
--- a/vendor/libghostty-vt/pkg/macos/main.zig
+++ b/vendor/libghostty-vt/pkg/macos/main.zig
@@ -10,25 +10,7 @@ pub const text = @import("text.zig");
pub const video = @import("video.zig");
pub const iosurface = @import("iosurface.zig");
-// All of our C imports consolidated into one place. We used to
-// import them one by one in each package but Zig 0.14 has some
-// kind of issue with that I wasn't able to minimize.
-pub const c = @cImport({
- @cInclude("CoreFoundation/CoreFoundation.h");
- @cInclude("CoreGraphics/CoreGraphics.h");
- @cInclude("CoreText/CoreText.h");
- @cInclude("CoreVideo/CoreVideo.h");
- @cInclude("CoreVideo/CVPixelBuffer.h");
- @cInclude("QuartzCore/CALayer.h");
- @cInclude("IOSurface/IOSurfaceRef.h");
- @cInclude("dispatch/dispatch.h");
- @cInclude("os/log.h");
- @cInclude("os/signpost.h");
-
- if (builtin.os.tag == .macos) {
- @cInclude("Carbon/Carbon.h");
- }
-});
+pub const c = @import("macos_c");
test {
@import("std").testing.refAllDecls(@This());