aboutsummaryrefslogtreecommitdiff
path: root/example_packages/c_includes/src/lib.c
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-03-24 09:28:00 +0000
committerGitHub <noreply@github.com>2021-03-24 09:28:00 +0000
commitcb3337b021c5e590c34ec5e0b65b45cc7d497122 (patch)
tree8de6bf21f0c94890dfec8d236f4f7efc5a0b523d /example_packages/c_includes/src/lib.c
parent47c410e36a767976ed877e6b5ca41b4efdd8a668 (diff)
parent6743247460ee7c61de81bec3319f2cedddef07c2 (diff)
downloadfpm-cb3337b021c5e590c34ec5e0b65b45cc7d497122.tar.gz
fpm-cb3337b021c5e590c34ec5e0b65b45cc7d497122.zip
Merge pull request #377 from LKedward/include-dir
Add explicit include-dir key to manifest
Diffstat (limited to 'example_packages/c_includes/src/lib.c')
-rw-r--r--example_packages/c_includes/src/lib.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/example_packages/c_includes/src/lib.c b/example_packages/c_includes/src/lib.c
new file mode 100644
index 0000000..2339822
--- /dev/null
+++ b/example_packages/c_includes/src/lib.c
@@ -0,0 +1,7 @@
+#include "lib.h"
+
+int test(const int a){
+
+ return printf("input: %d\n", a);
+
+} \ No newline at end of file