IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
NativeLibraryExport.cs
Go to the documentation of this file.
1using System;
2
3namespace IKVM.Runtime
4{
5
6#if FIRST_PASS == false && IMPORTER == FALSE && EXPORTER == false
7
11 internal class NativeLibraryExport
12 {
13
14 readonly NativeLibraryHandle lib;
15 readonly nint handle;
16
22 internal NativeLibraryExport(NativeLibraryHandle lib, IntPtr handle)
23 {
24 this.lib = lib ?? throw new ArgumentNullException(nameof(lib));
25 this.handle = handle;
26 }
27
31 public NativeLibraryHandle Library => lib;
32
36 public nint Handle => handle;
37
38 }
39
40#endif
41
42}