SIP Python bindings generator - nested templates

Pakewak tom.vanlaerhoven### at luc.ac.be
Fri Jan 17 10:43:45 CET 2003


Jim wrote:
 
> // in your sip files, you can either assign
> // a new name to the template type, or just
> // use it as the identifier - sip will accept
> // the <'s and >'s as part of the identifier
> %MappedType plSMat<plSquareMatrix<double>, 3>

The line above causes a parse error. When I remove the second template 
parameter it works:

%MappedType plSMat<plSquareMatrix<double>>

I'll stick to my manual hack until the next SIP release.

Thanks!
Tom.




More information about the Python-list mailing list