[issue1800] ctypes callback fails when called in Python with array argument

Alexander Belopolsky report at bugs.python.org
Mon May 17 19:12:51 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Attached patch fixes the issue, but feels a little bit like a band-aid. I think making array arguments "decay" into pointers is the right solution, but I am not sure this should be done when prototype is created or when it is called.  If python level solution is accepted, a better way to detect an array type should probably be found.

----------
keywords: +patch
Added file: http://bugs.python.org/file17381/issue1800.diff

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


More information about the Python-bugs-list mailing list