Re: ctypes callback with char array

2012-06-02 Thread Diez B. Roggisch
ohlfsen ohlf...@gmail.com writes: Hello. Hoping that someone can shed some light on a tiny challenge of mine. Through ctypes I'm calling a c DLL which requires me to implement a callback in Python/ctypes. The signature of the callback is something like void foo(int NoOfElements, char

ctypes callback with char array

2012-05-30 Thread ohlfsen
Hello. Hoping that someone can shed some light on a tiny challenge of mine. Through ctypes I'm calling a c DLL which requires me to implement a callback in Python/ctypes. The signature of the callback is something like void foo(int NoOfElements, char Elements[][100]) How do I possible