summary refs log tree commit diff stats
path: root/examples/cross_calculator/nimrod_backend
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2012-09-06 20:20:34 +0200
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2012-09-08 22:41:17 +0200
commit116c54a8dd83c01a77d394f74bbe2372a8928cb8 (patch)
treeff99dcc92fb31fed3bc77368f0fca02298f128f4 /examples/cross_calculator/nimrod_backend
parent46f652b93eec44f25de25df9e9362448d857bfbe (diff)
downloadNim-116c54a8dd83c01a77d394f74bbe2372a8928cb8.tar.gz
Splits nimrod and lazarus files into separate directories.
Diffstat (limited to 'examples/cross_calculator/nimrod_backend')
-rwxr-xr-xexamples/cross_calculator/nimrod_backend/backend.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/cross_calculator/nimrod_backend/backend.nim b/examples/cross_calculator/nimrod_backend/backend.nim
new file mode 100755
index 000000000..ffa4311f9
--- /dev/null
+++ b/examples/cross_calculator/nimrod_backend/backend.nim
@@ -0,0 +1,5 @@
+# Backend for the different user interfaces.

+

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

+  result = x + y

+