summary refs log tree commit diff stats
path: root/examples/lazarus/backend.nim
blob: 64f0c5bf71e60221ceb9a6af2f894ffe75710a09 (plain) (blame)
1
2
3
4
5
# Backend for the Lazarus GUI

proc myAdd*(x, y: int): int {.cdecl, exportc.} = 
  result = x + y