[Pyrex] Re: Problem with void*
Mike Rovner
mike at bindkey.com
Mon Jun 16 21:10:56 CEST 2003
"Geoffrey Bantle" <hairbat at yahoo.com> wrote in message
> ctypedef void* VSession
> #the function I am trying to access...
> void vll_send_connect(char *name, char *password, char
> *address, VSession **connection)
>[...]
> vll_send_connect (User,Password,Address,*Session)
Something wrong with my understanding :)
Are you sure you are dealing with triple pointer: ***void
It's pretty uncommon unless you have deeply nested structures or multidim
arrays.
And when you try to deref Session you're passing plain void through Python
which no
compiler know how to cope with.
Please post original C API of that part and then your code.
Mike
More information about the Pyrex
mailing list