[issue26628] Segfault in cffi with ctypes.union argument

Thomas report at bugs.python.org
Wed Mar 23 17:08:14 EDT 2016


Thomas added the comment:

Note [http://www.atmark-techno.com/~yashi/libffi.html]

> Although ‘libffi’ has no special support for unions or bit-fields, it is perfectly happy passing structures back and forth. You must first describe the structure to ‘libffi’ by creating a new ffi_type object for it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26628>
_______________________________________


More information about the Python-bugs-list mailing list