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

List:       pykde
Subject:    Re: [PyKDE] Sip wishlist item: Parameter typechecking enhancement
From:       Nigel Stewart <ns () fluent ! com>
Date:       2005-07-18 19:04:28
Message-ID: 42DBFD3C.1080806 () fluent ! com
[Download RAW message or body]

Just for the record, here is the solution that
is working for us with sip 4.1.1.  It is far
better than needing to worry in C++ about the
PyObject parameter not being a Foo wrapper...

Nigel

------------

...

     Bar(Foo & /GetWrapper/, const QString &, const QString & = QString::null);
%MethodCode
         sipCpp = new Bar(a0Wrapper,*a1,*a2);
%End

...

_______________________________________________
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