Skip to content

Commit

Permalink
Merge pull request #3395 from odin-lang/darwin-reorganization
Browse files Browse the repository at this point in the history
Move `vendor:darwin/Foundation` to `core:sys/darwin/Foundation`
  • Loading branch information
gingerBill authored Apr 8, 2024
2 parents ecac3ae + ef82f3e commit a00d96c
Show file tree
Hide file tree
Showing 41 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/all/all_vendor.odin
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ _ :: xlib

// NOTE: needed for doc generator

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"
import MTL "vendor:darwin/Metal"
import MTK "vendor:darwin/MetalKit"
import CA "vendor:darwin/QuartzCore"
Expand Down
2 changes: 1 addition & 1 deletion vendor/darwin/Metal/MetalClasses.odin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package objc_Metal

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"
import "core:mem"
_ :: mem

Expand Down
2 changes: 1 addition & 1 deletion vendor/darwin/Metal/MetalEnums.odin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package objc_Metal

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"

AccelerationStructureUsage :: distinct bit_set[AccelerationStructureUsageFlag; NS.UInteger]
AccelerationStructureUsageFlag :: enum NS.UInteger {
Expand Down
2 changes: 1 addition & 1 deletion vendor/darwin/Metal/MetalErrors.odin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package objc_Metal

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"

foreign import "system:Metal.framework"

Expand Down
2 changes: 1 addition & 1 deletion vendor/darwin/Metal/MetalProcedures.odin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package objc_Metal

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"
import "core:c"

@(require)
Expand Down
2 changes: 1 addition & 1 deletion vendor/darwin/Metal/MetalTypes.odin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package objc_Metal

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"
import "base:intrinsics"

BOOL :: NS.BOOL
Expand Down
2 changes: 1 addition & 1 deletion vendor/darwin/MetalKit/MetalKit.odin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package objc_MetalKit

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"
import MTL "vendor:darwin/Metal"
import CA "vendor:darwin/QuartzCore"
import "base:intrinsics"
Expand Down
2 changes: 1 addition & 1 deletion vendor/darwin/QuartzCore/QuartzCore.odin
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package objc_QuartzCore

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"
import MTL "vendor:darwin/Metal"
import "base:intrinsics"

Expand Down
2 changes: 1 addition & 1 deletion vendor/glfw/native_darwin.odin
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package glfw

import NS "vendor:darwin/Foundation"
import NS "core:sys/darwin/Foundation"

@(default_calling_convention="c", link_prefix="glfw")
foreign {
Expand Down

0 comments on commit a00d96c

Please sign in to comment.