Files
c3c/lib/std/os/macos/core_foundation.c3
Christoffer Lerno 99cfaa1583 Refactor protocols.
2023-10-06 22:31:41 +02:00

13 lines
287 B
C

module std::os::macos::cf @if(env::DARWIN);
distinct CFTypeRef = 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");