diff options
| author | Joel Stålnacke <joel@saker.fi> | 2024-10-06 11:25:49 +0300 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2024-10-06 11:25:49 +0300 |
| commit | 11e09f477480531487cd12b5c107ac1d8352a7a5 (patch) | |
| tree | 19ce8424608fa9dd617208d8ed60da7a2a2b4287 /lib/Djup.Native/LibDjup.cs | |
Initial commit
Diffstat (limited to 'lib/Djup.Native/LibDjup.cs')
| -rw-r--r-- | lib/Djup.Native/LibDjup.cs | 12 |
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(); +} |
