[issue42880] ctypes: variadic function call still doesn't work on Apple Silicon
Ronald Oussoren
report at bugs.python.org
Tue Jan 12 04:00:10 EST 2021
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
AFAIK you should specify the types of the fixed arguments for variadic functions. The ABI for the M1 has a different calling convention of the variadic arguments, the ctypes implementation counts how many variadic arguments there are based on the specified number of fixed arguments.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42880>
_______________________________________
More information about the Python-bugs-list
mailing list