mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-05-24 00:58:43 +03:00
11 lines
206 B
Zig
11 lines
206 B
Zig
const c = @import("c.zig");
|
|
|
|
pub const Point = extern struct {
|
|
x: c.CGFloat,
|
|
y: c.CGFloat,
|
|
|
|
pub fn cval(self: Point) c.struct_CGPoint {
|
|
return @bitCast(c.struct_CGPoint, self);
|
|
}
|
|
};
|