Files
c3c/lib/std/os/macos/core_foundation.c3
Christoffer Lerno 4c1edfb941 Dev (#777)
* The new @if directive.
2023-06-10 23:16:28 +02:00

13 lines
291 B
C

module std::os::macos::cf @if(DARWIN_LIBC);
def CFTypeRef = distinct void*;
def CFIndex = isz;
struct CFRange
{
CFIndex location;
CFIndex length;
}
extern fn CFTypeRef _macos_CFRetain(CFTypeRef cf) @extern("CFRetain");
extern fn void _macos_CFRelease(CFTypeRef cf) @extern("CFRelease");