Re: [PyQt] Problems with wrapping complex types using typedefs

2013-07-06 Thread Casper Ti. Vector
For now, aside from directly writing code to wrap > std::map< std::pair, std::vector > this is the only way that works; either > #define sipType_cell sipFindType("cell") > #define sipType_idxx sipFindType("idxx") > typedef std::pair cell; > typedef std::vector idxx; > std::map Test; or > #define si

Re: [PyQt] Problems with wrapping complex types using typedefs

2013-07-05 Thread Phil Thompson
On Fri, 5 Jul 2013 17:41:21 +0800, "Casper Ti. Vector" wrote: > For example, assuming all example use this header: >> %Module test >> %ModuleHeaderCode >> #include "test.h" >> %End >> %Include types.sip // Where map, pair and vector are wrapped. > > This code: >> std::map, std::vector > Test; > f