Make Nim example actually work (#2264)

This commit is contained in:
Danil Yarantsev
2020-10-09 00:58:20 +03:00
committed by GitHub
parent 99d575b98d
commit d1ddfcf075

View File

@@ -1,3 +1,3 @@
# Type your code here, or load an example.
proc square(num: int): int =
proc square(num: int): int {.exportc.} =
num * num