[PyQt] SIP: exposing C++ shift operators

2009-07-09 Thread Giovanni Bajo
Hi Phil, I'm trying to expose a global operator function through SIP. The first argument is not an object wrapped by SIP, but I don't really care: it would be sufficient if it was possible to call it from Python as a normal function call. I tried this: void operator(A a, B b)

Re: [PyQt] SIP: exposing C++ shift operators

2009-07-09 Thread Phil Thompson
On Thu, 09 Jul 2009 20:14:07 +0200, Giovanni Bajo ra...@develer.com wrote: Hi Phil, I'm trying to expose a global operator function through SIP. The first argument is not an object wrapped by SIP, but I don't really care: it would be sufficient if it was possible to call it from Python as