diff options
Diffstat (limited to 'examples/lazarus')
-rwxr-xr-x | examples/lazarus/backend.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/lazarus/backend.nim b/examples/lazarus/backend.nim new file mode 100755 index 000000000..64f0c5bf7 --- /dev/null +++ b/examples/lazarus/backend.nim @@ -0,0 +1,5 @@ +# Backend for the Lazarus GUI + +proc myAdd*(x, y: int): int {.cdecl, exportc.} = + result = x + y + |