Fix typemap matching bug when a templated type has a typemap both specialized and not specialized - the wrong typemap would sometimes be used

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-01-28 07:25:59 +00:00
commit d02f543dbc
4 changed files with 62 additions and 11 deletions

View file

@ -1025,6 +1025,11 @@ checks are made:
<Li>Typemaps that match the stripped <tt>TYPE</tt> only.
</ul>
<p>
If <tt>TYPE</tt> is a C++ template, the matching rules above are repeated with the template parameterization removed.
For example if <tt>TYPE</tt> is <tt>X&lt; double &gt; </tt>, then repeat with the type simply as <tt>X</tt>.
</p>
<p>
If <tt>TYPE</tt> is an array. The following transformation is made:
</p>