Change of calling convention for unix functions
parent
b0856c424c
commit
bef4db48d4
|
@ -76,13 +76,13 @@ namespace PhysFS
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Unix
|
#region Unix
|
||||||
[DllImport("libdl.so")]
|
[DllImport("libdl.so", CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr dlopen(string filename, int flags);
|
public static extern IntPtr dlopen(string filename, int flags);
|
||||||
|
|
||||||
[DllImport("libdl.so")]
|
[DllImport("libdl.so", CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr dlsym(IntPtr handle, string symbol);
|
public static extern IntPtr dlsym(IntPtr handle, string symbol);
|
||||||
|
|
||||||
[DllImport("libdl.so")]
|
[DllImport("libdl.so", CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern bool dlclose(IntPtr handle);
|
public static extern bool dlclose(IntPtr handle);
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue