mirror of
https://github.com/cyanfish/naps2.git
synced 2024-08-17 03:00:21 +03:00
parent
db9b6d28e1
commit
2a1e922b79
@ -4,13 +4,13 @@ namespace NAPS2.Platform.Linux;
|
||||
|
||||
public static class LinuxInterop
|
||||
{
|
||||
[DllImport("libc.so.6")]
|
||||
[DllImport("libdl.so.2")]
|
||||
public static extern IntPtr dlopen(string filename, int flags);
|
||||
|
||||
[DllImport("libc.so.6")]
|
||||
[DllImport("libdl.so.2")]
|
||||
public static extern string dlerror();
|
||||
|
||||
[DllImport("libc.so.6")]
|
||||
[DllImport("libdl.so.2")]
|
||||
public static extern IntPtr dlsym(IntPtr handle, string symbol);
|
||||
|
||||
[DllImport("libc.so.6")]
|
||||
|
Loading…
Reference in New Issue
Block a user