summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-07-31 22:39:17 +0200
committerAraq <rumpf_a@web.de>2011-07-31 22:39:17 +0200
commit3e806a374a1b42246e947965677c4a1520f3db57 (patch)
treebf2de9968a3288e5f6418eec65e4dbd6587bc07e /examples
parent4f7fa0591112e70f7eacef051a215e3420f78da8 (diff)
downloadNim-3e806a374a1b42246e947965677c4a1520f3db57.tar.gz
'var T' for iterators
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/lazarus/backend.nim5
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

+