mirror of
https://github.com/ziglang/zig.git
synced 2026-01-04 04:25:05 +00:00
this is going to only work for very basic libraries; I plan to slowly add more features over time to support more complicated libraries
4 lines
56 B
Zig
4 lines
56 B
Zig
export fn add(a: i32, b: i32) i32 {
|
|
return a + b;
|
|
}
|