Skip to content

Commit

Permalink
Merge pull request odin-lang#4874 from keenanwoodall/ns-save-panel-ur…
Browse files Browse the repository at this point in the history
…l-not-array

Darwin/Foundation `SavePanel_URL` returns ^URL instead of ^Array
  • Loading branch information
gingerBill authored Feb 24, 2025
2 parents b6e4765 + a709876 commit c0b923c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/sys/darwin/Foundation/NSSavePanel.odin
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ SavePanel_savePanel :: proc "c" () -> ^SavePanel {
}

@(objc_type=SavePanel, objc_name="URL")
SavePanel_URL :: proc "c" (self: ^SavePanel) -> ^Array {
return msgSend(^Array, self, "URL")
SavePanel_URL :: proc "c" (self: ^SavePanel) -> ^URL {
return msgSend(^URL, self, "URL")
}

0 comments on commit c0b923c

Please sign in to comment.