ability to generate shared library and h file
This commit is contained in:
5
example/mathtest.zig
Normal file
5
example/mathtest.zig
Normal file
@@ -0,0 +1,5 @@
|
||||
export library "mathtest";
|
||||
|
||||
export fn add(a: i32, b: i32) -> i32 {
|
||||
return a + b;
|
||||
}
|
||||
Reference in New Issue
Block a user