ctypes callback with char array
ohlfsen
ohlfsen at gmail.com
Wed May 30 07:40:41 EDT 2012
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 implement/process "char Elements[][100]" in Python/ctypes code?
Thanks a lot in advance.
Best Regards
A. (Python amateur).
More information about the Python-list
mailing list