[PyKDE] __setitem__ in sip 3.6

Donovan Rebbechi elflord at andromeda.rutgers.edu
Tue Jun 24 19:32:01 BST 2003


I've been having difficulty getting __setitem__ to work in the new version
of sip. How does one do this ?

I've already tried this sort of thing:

void __setitem__() /NonLazy/;

void __setitem__() ; // release notes say no more nonlazy ...

and I get complaints about both signatures. But I'm providing %MemberCode
for this, so I don't see why sip should care what the function sig looks
like -- when MemberCode is provided, it could be void* __setitem__
(void*,int,double) for all sip cares.

Cheers,
-- 
Donovan




More information about the PyQt mailing list