Re: [Tutor] ctypes and arrays of pointers

2011-10-15 Thread Albert-Jan Roskam
>Sent: Thursday, October 13, 2011 9:25 PM >Subject: [Tutor] ctypes and arrays of pointers > > >Hi, > > >I have a question about ctypes. I am trying to call a C function but I am not >able to construct the arguments in ctypes. I need to construct two pointers. >Each is

[Tutor] ctypes and arrays of pointers

2011-10-13 Thread Albert-Jan Roskam
Hi, I have a question about ctypes. I am trying to call a C function but I am not able to construct the arguments in ctypes. I need to construct two pointers. Each is a pointer to an array of pointers to character values. I did it like this (I tried numerous ways; this seemed the cleanest way):