コード例 #1
0
            public override IntPtr GetLibrary(string libraryPath)
            {
                // Immediate function call binding.
                const int RTLD_NOW = 0x00002;

                return(NonWindowsInterop.dlopen(libraryPath, RTLD_NOW));
            }
コード例 #2
0
 public override IntPtr GetFunctionPointer(IntPtr module, string functionName)
 {
     return(NonWindowsInterop.dlsym(module, functionName));
 }