[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Ivalid cast (PyKDE-snapshot20050316, GCC 4)
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2005-03-18 23:39:26
Message-ID: 200503181539.26530.jbublitz () nwinternet ! com
[Download RAW message or body]

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    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic