public static IntPtr LoadProcedure(SafeLibraryHandle handle, string functionName) { return(dlsym(handle, functionName)); }
private static extern IntPtr dlsym(SafeLibraryHandle handle, string symbol);
private static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, string procname);
private static extern IntPtr dlsym(SafeLibraryHandle handle, string symbol);
public static IntPtr LoadProcedure(SafeLibraryHandle handle, string functionName) { return dlsym(handle, functionName); }
private static SafeLibraryHandle NullifyInvalidHandle(SafeLibraryHandle handle) { return(handle.IsInvalid ? null : handle); }
private static extern IntPtr GetProcAddress(SafeLibraryHandle moduleHandle, string procname);