示例#1
0
 public IntPtr GetModuleHandle(string moduleName)
 {
     if (moduleName == null)
     {
         return(NativeImports.dlopen(null, NativeImports.RTLD_LAZY));
     }
     else
     {
         throw new NotImplementedException();
     }
 }
示例#2
0
 public IntPtr LoadLibrary(string library_path)
 {
     return(NativeImports.dlopen(library_path, NativeImports.RTLD_LAZY));
 }