public override IntPtr GetLibrary(string libraryPath) { // Immediate function call binding. const int RTLD_NOW = 0x00002; return(NonWindowsInterop.dlopen(libraryPath, RTLD_NOW)); }
public override IntPtr GetFunctionPointer(IntPtr module, string functionName) { return(NonWindowsInterop.dlsym(module, functionName)); }