mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
13 lines
287 B
C
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");
|