blob: 25687a65301057efefa4582e288c83cc8137a52d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package library
@(export)
foo_add :: proc "c" (a, b: int) -> (res: int) {
return a + b
}
@(export)
bar_sub :: proc "c" (a, b: int) -> (res: int) {
return a - b
}
@(export)
foo_hellope: i32 = 42
|