summaryrefslogtreecommitdiff
path: root/lib/Djup.Native/LibDjup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Djup.Native/LibDjup.cs')
-rw-r--r--lib/Djup.Native/LibDjup.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Djup.Native/LibDjup.cs b/lib/Djup.Native/LibDjup.cs
new file mode 100644
index 0000000..5e6db83
--- /dev/null
+++ b/lib/Djup.Native/LibDjup.cs
@@ -0,0 +1,12 @@
+using System.Runtime.InteropServices;
+
+namespace Djup.Native;
+
+public static partial class LibDjup
+{
+ const string LibraryName = "djup";
+ const string Prefix = "dp_";
+
+ [LibraryImport(LibraryName, EntryPoint = Prefix + nameof(hello_world))]
+ public static partial void hello_world();
+}