Last active
December 4, 2015 13:27
-
-
Save asterite/f3b8c1bcfe1aa8b96383 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@[Link(ldflags: "#{__DIR__}/libmylib.so")] | |
lib MyLib | |
fun add(Int32, Int32) : Int32 | |
end | |
puts MyLib.add(11, 31) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment