mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-08 06:40:42 +00:00
Tightened access restrictions to native functions.
This commit is contained in:
parent
66568d567e
commit
b95197e6ca
|
@ -341,10 +341,10 @@ namespace OpenTK
|
||||||
|
|
||||||
#if GTK3
|
#if GTK3
|
||||||
[SuppressUnmanagedCodeSecurity, DllImport("libgdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
[SuppressUnmanagedCodeSecurity, DllImport("libgdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr gdk_win32_window_get_handle(IntPtr w);
|
static extern IntPtr gdk_win32_window_get_handle(IntPtr w);
|
||||||
#else
|
#else
|
||||||
[SuppressUnmanagedCodeSecurity, DllImport("libgdk-win32-2.0-0.dll")]
|
[SuppressUnmanagedCodeSecurity, DllImport("libgdk-win32-2.0-0.dll")]
|
||||||
public static extern IntPtr gdk_win32_drawable_get_handle(IntPtr d);
|
static extern IntPtr gdk_win32_drawable_get_handle(IntPtr d);
|
||||||
#endif
|
#endif
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue