Files
c3c/lib/std/os/macos/core_foundation.c3
2023-03-20 01:03:54 +01:00

16 lines
326 B
C

module std::os::macos::cf;
$if (env::OS_TYPE == OsType.MACOSX)
typedef CFTypeRef = distinct void*;
typedef 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");
$endif