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:
Marcelo Matus 2004-11-15 22:56:18 +00:00
commit 794680d137

View file

@ -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 {