mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 12:30:28 +00:00
Always include Cocoa for NSFoundation
This commit is contained in:
4
vendor/darwin/Foundation/objc.odin
vendored
4
vendor/darwin/Foundation/objc.odin
vendored
@@ -1,6 +1,8 @@
|
||||
package objc_Foundation
|
||||
|
||||
foreign import "system:Foundation.framework"
|
||||
// NOTE: Most of our bindings are reliant on Cocoa (everything under appkit) so just unconditionally import it
|
||||
@(require) foreign import "system:Cocoa.framework"
|
||||
|
||||
import "core:intrinsics"
|
||||
import "core:c"
|
||||
@@ -76,4 +78,4 @@ objc_class_internals :: struct {
|
||||
cache: rawptr,
|
||||
protocols: rawptr,
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user