mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
12 lines
218 B
Zig
12 lines
218 B
Zig
const std = @import("std");
|
|
const c = @import("c.zig");
|
|
|
|
pub fn version() u32 {
|
|
return @intCast(u32, c.FcGetVersion());
|
|
}
|
|
|
|
test "version" {
|
|
const testing = std.testing;
|
|
try testing.expect(version() > 0);
|
|
}
|