summary refs log tree commit diff stats
path: root/examples/lazarus
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lazarus')
-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

+