Nim/examples/lazarus/backend.nim
2011-07-31 22:39:17 +02:00

5 lines
104 B
Nim
Executable file

# Backend for the Lazarus GUI
proc myAdd*(x, y: int): int {.cdecl, exportc.} =
result = x + y