diff --git a/examples/nim/default.nim b/examples/nim/default.nim index 7f5145c5d..c71ddd96a 100644 --- a/examples/nim/default.nim +++ b/examples/nim/default.nim @@ -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