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:
parent
83576031c3
commit
d02f543dbc
4 changed files with 62 additions and 11 deletions
|
|
@ -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< double > </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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue