* The new @if directive.
This commit is contained in:
Christoffer Lerno
2023-06-10 23:16:28 +02:00
committed by GitHub
parent 82c3facb65
commit 4c1edfb941
102 changed files with 1272 additions and 1720 deletions

View File

@@ -1,6 +1,4 @@
module std::os::macos::cf;
$if env::os_is_darwin():
module std::os::macos::cf @if(DARWIN_LIBC);
def CFTypeRef = distinct void*;
def CFIndex = isz;
@@ -12,5 +10,3 @@ struct CFRange
extern fn CFTypeRef _macos_CFRetain(CFTypeRef cf) @extern("CFRetain");
extern fn void _macos_CFRelease(CFTypeRef cf) @extern("CFRelease");
$endif