O
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 implement/process "char Elements[][100]" in Python/ctypes code?
Thanks a lot in advance.
Best Regards
A. (Python amateur).
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).