[melbourne-pug] ctypes python code on pypy

Brian May brian at linuxpenguins.xyz
Wed Nov 18 04:04:17 EST 2015


Jason Nielsen <j.lee.nielsen at gmail.com> writes:

> It looks like c_char_Array_4 should have a value and a raw argument
> which should be str thought I dont know much about ctypes.
>
> http://stackoverflow.com/questions/4101536/multi-dimensional-char-array-array-of-strings-in-python-ctypes

Thing you meant to say "attribute" not "argument". It seems to pass the
tests if I add .raw to the end, so hopefully that means it is working...

Thanks for the pointer.
-- 
Brian May <brian at linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/


More information about the melbourne-pug mailing list