Files
c3c/lib/std/os/macos/core_foundation.c3
Christoffer Lerno df77b692d6 Support "typedef"
2023-02-14 16:49:27 +01:00

16 lines
328 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;