fix parameter access and thus shared library example

This commit is contained in:
Andrew Kelley
2015-12-02 00:53:57 -07:00
parent 08a2311efd
commit 370de7386c
5 changed files with 87 additions and 27 deletions

View File

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