summaryrefslogtreecommitdiffstats
path: root/languages/pascal/app_templates/fpcsharedlib/main.pp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/pascal/app_templates/fpcsharedlib/main.pp')
-rw-r--r--languages/pascal/app_templates/fpcsharedlib/main.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/languages/pascal/app_templates/fpcsharedlib/main.pp b/languages/pascal/app_templates/fpcsharedlib/main.pp
new file mode 100644
index 00000000..c02e1472
--- /dev/null
+++ b/languages/pascal/app_templates/fpcsharedlib/main.pp
@@ -0,0 +1,11 @@
+library %{APPNAMELC};
+
+function %{APPNAMELC}_test: integer; cdecl; export;
+begin
+ %{APPNAMELC}_test := 0;
+end;
+
+exports
+ %{APPNAMELC}_test;
+
+end.