pkg/macos: yeet more usingns

This commit is contained in:
Mitchell Hashimoto
2024-08-16 16:50:41 -07:00
parent 17d844e7bf
commit 318dc85c02
15 changed files with 63 additions and 40 deletions

View File

@@ -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));
}