mirror-ghostty/pkg/macos/graphics
Mitchell Hashimoto 5ad8ea6b22
pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl
Fixes #6727

The major change in this commit is to consolidate all the C imports in
a single decl in main.zig. This is required for Zig 0.14. Without it,
the problem in #6727 will happen. I was never able to minimize why this
happens in order to open a Zig bug.

Beyond this, I fixed the build.zig and build.zig.zon to work with Zig
0.14 so that we can test building `pkg/macos` in isolation. There are no
downstream impacting changes in the build.zig files.
2025-03-15 07:02:53 -07:00
..
affine_transform.zig pkg/macos: graphics usingns yeet 2024-08-16 16:38:04 -07:00
bitmap_context.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
c.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
color_space.zig Metal: blend in Display P3 color space, add option for linear blending 2025-01-13 13:50:29 -08:00
context.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00
font.zig pkg/macos: graphics usingns yeet 2024-08-16 16:38:04 -07:00
geometry.zig pkg/macos: graphics usingns yeet 2024-08-16 16:38:04 -07:00
image.zig pkg/macos: graphics usingns yeet 2024-08-16 16:38:04 -07:00
path.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00