mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
349 B
Plaintext
12 lines
349 B
Plaintext
module std::os::macos::cf @if(env::DARWIN) @link(env::DARWIN, "CoreFoundation.framework");
|
|
|
|
distinct CFTypeRef = void*;
|
|
def CFIndex = isz;
|
|
struct CFRange
|
|
{
|
|
CFIndex location;
|
|
CFIndex length;
|
|
}
|
|
|
|
extern fn CFTypeRef macos_CFRetain(CFTypeRef cf) @extern("CFRetain") @builtin;
|
|
extern fn void macos_CFRelease(CFTypeRef cf) @extern("CFRelease") @builtin; |