Files
Nim/examples/cross_calculator/nim_backend/backend.nim
2015-02-15 00:06:51 +01:00

6 lines
119 B
Nim

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