mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-04 12:54:41 +00:00
pkg/macos: yeet more usingns
This commit is contained in:
@@ -8,6 +8,8 @@ const c = @import("c.zig").c;
|
||||
/// given type.
|
||||
pub fn Context(comptime T: type) type {
|
||||
return struct {
|
||||
value: *T,
|
||||
|
||||
pub fn release(self: *T) void {
|
||||
c.CGContextRelease(@ptrCast(self));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user