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

6 lines
104 B
Nim
Executable File

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