PyCObject_FromVoidPtr missing ?

Jelmer Vernooij jelmer at
Fri Sep 25 17:36:57 MDT 2009

Hi Guenther,

On Fri, 2009-09-25 at 11:30 +0200, Guenther Deschner wrote:
> I need to move a struct into misc.idl that contains an nstring_array. The
> generated python code when built for s4 then complains:
> error: too few arguments to function ‘PyCObject_FromVoidPtr’
Looks like a bit of the code that was never used before. I've pushed a fix that should at least make it compile again., though string_array will still be converted to an "opaque" type in Python. 

> Tried hard to find that function but could not find it. Is it possible
> that it is missing completely ?
It's in the standard Python library, see 



Jelmer Vernooij <jelmer at> -
Jabber: jelmer at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the samba-technical mailing list