Message176629
ctypes pretends to support passing arguments to C functions that are structures containing bitfields, or at least does not explicitly forbid it. But doing so results in misbehavior or segfaults in libffi itself. Indeed, libffi has no support for this, and ctypes just describes a field like "int x:1;" as "int x;". The attached example segfaults on Linux x86-64. |
|
Date |
User |
Action |
Args |
2012-11-29 04:53:32 | arigo | set | recipients:
+ arigo |
2012-11-29 04:53:32 | arigo | set | messageid: <1354164812.19.0.708202681719.issue16576@psf.upfronthosting.co.za> |
2012-11-29 04:53:32 | arigo | link | issue16576 messages |
2012-11-29 04:53:31 | arigo | create | |
|