summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/libfoo/src/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/actions/package/localpkg/libfoo/src/interface.h')
-rw-r--r--tests/actions/package/localpkg/libfoo/src/interface.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/actions/package/localpkg/libfoo/src/interface.h b/tests/actions/package/localpkg/libfoo/src/interface.h
new file mode 100644
index 000000000..62a39427c
--- /dev/null
+++ b/tests/actions/package/localpkg/libfoo/src/interface.h
@@ -0,0 +1,16 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*! calculate add(a, b)
+ *
+ * @param a the first argument
+ * @param b the second argument
+ *
+ * @return the result
+ */
+int add(int a, int b);
+
+#ifdef __cplusplus
+}
+#endif