fix predicate, excluding template case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f5b5d09fea
commit
c7bc81c745
2 changed files with 11 additions and 1 deletions
|
|
@ -85,3 +85,13 @@ public:
|
|||
};
|
||||
|
||||
%}
|
||||
|
||||
%inline
|
||||
{
|
||||
template <class _Type>
|
||||
struct A
|
||||
{
|
||||
};
|
||||
}
|
||||
|
||||
%template(A_i) A<int>;
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ static int NAME(TYPE x) {
|
|||
%define %$isenum "match"="enum" %enddef
|
||||
%define %$isenumitem "match"="enumitem" %enddef
|
||||
%define %$isaccess "match"="access" %enddef
|
||||
%define %$isclass "match"="class" %enddef
|
||||
%define %$isclass "match"="class","notmatch$template$templatetype"="class" %enddef
|
||||
%define %$isextend "match"="extend" %enddef
|
||||
%define %$isextend "match"="extend" %enddef
|
||||
%define %$isconstructor "match"="constructor" %enddef
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue