Created
November 11, 2019 11:27
-
-
Save rbnpercy/3eb39c9d10b4fe30b7807cc9c0931514 to your computer and use it in GitHub Desktop.
This file contains 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
{.compile: "logic.c".} | |
proc addTwoIntegers(a, b: cint): cint {.importc.} | |
when isMainModule: | |
echo addTwoIntegers(3, 7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment