fix for value_wrapper + feature:nodefault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
659e439023
commit
794680d137
1 changed files with 2 additions and 1 deletions
|
|
@ -1274,7 +1274,8 @@ SwigType *SwigType_alttype(SwigType *t, int local_tmap) {
|
|||
if ((Strcmp(nodeType(n),"class") == 0)
|
||||
&& (!Getattr(n,"allocate:default_constructor")
|
||||
|| (Getattr(n,"allocate:noassign")))) {
|
||||
use_wrapper = !Getattr(n,"feature:novaluewrapper");
|
||||
use_wrapper = !Getattr(n,"feature:novaluewrapper")
|
||||
|| Getattr(n,"feature:nodefault");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue