zig/example/mathtest.zig

6 lines
87 B
Zig
Raw Normal View History

export library "mathtest";
export fn add(a: i32, b: i32) -> i32 {
return a + b;
}