On Friday 18 March 2005 13:46, Akos Polster wrote:
> ...and I have no SIP skills at all, so thanks for the clarification.
> This seems to satisfy GCC 4 and GCC 3.3.4 both:

>         KURL::List           operator + (const KURL::List&);
> %MethodCode
> //returns (KURL.List)
> //takes listToAdd | (KURL.List)
>     Py_BEGIN_ALLOW_THREADS
>     sipRes = new KURL::List(*sipCpp);
>     (*sipRes) += (*a0);
>     Py_END_ALLOW_THREADS
> %End

> Do you need a formal patch please let me know

Works here too - I'll add it to the next snapshot.

Do you (or anyone) have an explanation of why this works and the original 
doesn't?

Jim

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to