mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-08-04 18:31:16 +00:00
[Mac] Added CFRetain binding
This commit is contained in:
parent
35bdf16f85
commit
42e4e0b27e
|
@ -112,6 +112,9 @@ namespace OpenTK.Platform.MacOS.Carbon
|
||||||
[DllImport(appServices)]
|
[DllImport(appServices)]
|
||||||
internal static extern IntPtr CFDictionaryGetValue(IntPtr theDictionary, IntPtr theKey);
|
internal static extern IntPtr CFDictionaryGetValue(IntPtr theDictionary, IntPtr theKey);
|
||||||
|
|
||||||
|
[DllImport(appServices)]
|
||||||
|
internal static extern IntPtr CFRetain(CFTypeRef cf);
|
||||||
|
|
||||||
[DllImport(appServices)]
|
[DllImport(appServices)]
|
||||||
internal static extern void CFRelease(CFTypeRef cf);
|
internal static extern void CFRelease(CFTypeRef cf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue