-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #608: Turn accessor macros in objc-object.h into functions
This is a first step in making objc-object.m safe to use in a free-threaded build. The change to method-accessor.m fixes a real bug: a PyObjCClass instance was used as a PyObjCObject one. This happens to work due to both having the Objective-C value as their first field, but is undefined behaviour in C.
- Loading branch information
1 parent
5909ad0
commit 2f69116
Showing
8 changed files
with
253 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.