summaryrefslogtreecommitdiffstats
path: root/chello/hello.c
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2026-06-30 21:02:59 +0200
committerBernhard Guillon <Bernhard.Guillon@begu.org>2026-06-30 21:02:59 +0200
commit17a7b6d602ec4e0bf39078a3a9a03ef71d65cf10 (patch)
treeec4cd3a180133e2f691f154bd05dcdbe69f0b4ca /chello/hello.c
parent9bb17da786318cf6c056bdc8a5bfb100ae7ae81c (diff)
downloadcsharp-cmake-17a7b6d602ec4e0bf39078a3a9a03ef71d65cf10.tar.gz
csharp-cmake-17a7b6d602ec4e0bf39078a3a9a03ef71d65cf10.zip
Add C hello library with P/Invoke from Baz
Diffstat (limited to 'chello/hello.c')
-rw-r--r--chello/hello.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/chello/hello.c b/chello/hello.c
new file mode 100644
index 0000000..b99e83d
--- /dev/null
+++ b/chello/hello.c
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+void hello_c(void) {
+ printf("hello from c\n");
+}