[PyQt] [SIP] operator * Error

Kermit stef.kermit at gmail.com
Wed Apr 20 14:53:00 BST 2011


hi,

In Matrix33.sip, i've this line

Vec2 operator *  (const Vec2 &v, const Matrix33 &m);

and sip return me
sip: Matrix33.sip:285: Global operators must be either numeric or comparison
operators


i don't understand, because it's work fine in Vec3.sip
with
Vec3 operator * (float a, const Vec3 &v);

the syntaxe is near ......

Thx for your help


Kermit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110420/aea7413a/attachment.html>


More information about the PyQt mailing list