summaryrefslogtreecommitdiffstats
path: root/baz
diff options
context:
space:
mode:
Diffstat (limited to 'baz')
-rw-r--r--baz/Baz.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/baz/Baz.cs b/baz/Baz.cs
index f3b017f..df4dd96 100644
--- a/baz/Baz.cs
+++ b/baz/Baz.cs
@@ -1,9 +1,14 @@
using System;
+using System.Runtime.InteropServices;
public class Baz
{
+ [DllImport("hello_c")]
+ private static extern void hello_c();
+
public static void Print()
{
Console.WriteLine("Baz");
+ hello_c();
}
}