-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
bpo-41100: ctypes fixes for arm64 Mac OS #21249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
lawrence-danna-apple
wants to merge
10
commits into
python:master
from
lawrence-danna-apple:postback-ctypes-combined
Closed
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ff883bc
use system libffi for Mac OS 10.15 and up
lawrence-danna-apple 36b35bc
ctypes: use the correct ABI for variadic functions
lawrence-danna-apple bacf128
ctypes: probe libffi for ffi_closure_alloc and ffi_prep_cif_var
lawrence-danna-apple 971ef00
📜🤖 Added by blurb_it.
blurb-it[bot] da30587
fix spelling in Doc/library/ctypes.rst
lawrence-danna-apple 80f852b
use system libffi for older releases of Mac OS
lawrence-danna-apple aeac14b
remove FUNCFLAG_VARIADIC
lawrence-danna-apple 62fe20a
fixup! use system libffi for older releases of Mac OS
lawrence-danna-apple e160a59
fixup! use system libffi for older releases of Mac OS
lawrence-danna-apple bca75fd
Fix build failure on Mac OS 10.10 / Xcode 6, remove libffi_osx
lawrence-danna-apple File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ctypes: use the correct ABI for variadic functions
On arm64 the calling convention for variardic functions is different than the convention for fixed-arg functions of the same arg types. ctypes needs to use ffi_prep_cif_var to tell libffi which calling convention to use.
- Loading branch information
commit 36b35bcfc2f42367184623da1be3c3251031e692
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.