[PyQt] %MappedType with non-class template arg?

Hans Meine meine at informatik.uni-hamburg.de
Fri Sep 10 09:43:24 BST 2010


Hi again!

Am Freitag 10 September 2010, 10:21:08 Phil wrote:
> So the template arguments are constant, so don't even bother with a
> template in sip. Just do...
> 
> %MappedType UInt16Array4D
> {
> ...
> };

That's what I do, but it's a lot of copy-pasting, since I have different 
value_types (8,16,32 bit ints or floating point) and dimensions (2,3,4).

It would be much nicer to just list the typedefs..

Have a nice day,
  Hans


More information about the PyQt mailing list