aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorJacob Evelyn <jacobevelyn@gmail.com>2026-01-13 15:13:18 -0500
committerGitHub <noreply@github.com>2026-01-13 21:13:18 +0100
commita4f958b738b2cfd9d50d07b1357645d6c4d7902f (patch)
treeabc67b78253fe57968600ee4191b0c01613baa01 /src/check_builtin.cpp
parentedb70a8d7560e003482af5277feb014a1e65251d (diff)
Fix darwin/Foundation/NSScreen type property bindings (#6038)
This commit updates the `darwin/Foundation` package's `NSScreen` bindings to treat Objective-C "type properties" as class methods rather than instance methods. As a result, we can now access these properties like this: ```odin import NS "core:sys/darwin/Foundation" main :: proc() { NS.Screen.mainScreen() } ``` instead of this: ```odin import NS "core:sys/darwin/Foundation" main :: proc() { (^NS.Screen)(nil).mainScreen() } ``` This commit also adds a binding for `NSScreen`'s `screensHaveSeparateSpaces` type property, which was previously missing from the `darwin/Foundation` package. Co-authored-by: Jacob Evelyn <j@cob.land>
Diffstat (limited to 'src/check_builtin.cpp')
0 files changed, 0 insertions, 0 deletions