mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
16 lines
325 B
C
16 lines
325 B
C
module std::os::macos::cf;
|
|
|
|
$if (env::OS_TYPE == OsType.MACOS)
|
|
|
|
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 |