summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/wizards/projects/nimble/library/src/library.nim
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/wizards/projects/nimble/library/src/library.nim')
-rw-r--r--share/qtcreator/templates/wizards/projects/nimble/library/src/library.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/projects/nimble/library/src/library.nim b/share/qtcreator/templates/wizards/projects/nimble/library/src/library.nim
new file mode 100644
index 0000000000..4b2a2701f0
--- /dev/null
+++ b/share/qtcreator/templates/wizards/projects/nimble/library/src/library.nim
@@ -0,0 +1,7 @@
+# This is just an example to get you started. A typical library package
+# exports the main API in this file. Note that you cannot rename this file
+# but you can remove it if you wish.
+
+proc add*(x, y: int): int =
+ ## Adds two files together.
+ return x + y