Help with ctypes pointer return values
steve.horsley at gmail.com
steve.horsley at gmail.com
Mon Sep 11 05:42:05 EDT 2006
Lawrence Oluyede wrote:
> <cantankerousoldgit at gmail.com> wrote:
> > Does anyone have a good idea how I should define recordList so that I
> > can retrieve the record pointers?
>
> POINTER(POINTER(c_void)) ?
>
> Maybe I misunderstood tough...
>
That's interesting. It had not occurred to me that you could do that.
And I also read that you can index pointers with pointer[x], so I think
that will do the trick.
Thanks for the pointer <groan>. I'll give it a try ASAP.
The Cog.
More information about the Python-list
mailing list