PyCObject_FromVoidPtr missing ?

Jelmer Vernooij jelmer at samba.org
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 
/usr/include/python2.X/cobject.h

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- 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: <http://lists.samba.org/pipermail/samba-technical/attachments/20090926/6cb54c5f/attachment.pgp>


More information about the samba-technical mailing list