summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/libfoo/src/foo.h
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-02 22:54:27 +0800
committerruki <[email protected]>2021-06-02 22:54:27 +0800
commit8dda67ba52ed67cc3e6897849658872c2ef4ddcc (patch)
treea6f1b6681af1d2958409e117acc39edaa6ea4e6a /tests/actions/package/localpkg/libfoo/src/foo.h
parent16919177c72aa5934113d37932e0b60c8d4a52df (diff)
add deps for localpackages
Diffstat (limited to 'tests/actions/package/localpkg/libfoo/src/foo.h')
-rw-r--r--tests/actions/package/localpkg/libfoo/src/foo.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/actions/package/localpkg/libfoo/src/foo.h b/tests/actions/package/localpkg/libfoo/src/foo.h
new file mode 100644
index 000000000..d53be3150
--- /dev/null
+++ b/tests/actions/package/localpkg/libfoo/src/foo.h
@@ -0,0 +1,16 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*! calculate foo(a, b)
+ *
+ * @param a the first argument
+ * @param b the second argument
+ *
+ * @return the result
+ */
+int foo(int a, int b);
+
+#ifdef __cplusplus
+}
+#endif