2022-09-13 13:53:20 -07:00

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