Modify following features to work as flags, so that they can be truely set and unset:

nodefault


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-09-30 23:05:50 +00:00
commit 019cbb567a
3 changed files with 3 additions and 3 deletions

View file

@ -1284,7 +1284,7 @@ SwigType *SwigType_alttype(SwigType *t, int local_tmap) {
&& (!Getattr(n,"allocate:default_constructor")
|| (Getattr(n,"allocate:noassign")))) {
use_wrapper = !Getattr(n,"feature:novaluewrapper")
|| Getattr(n,"feature:nodefault");
|| GetFlag(n,"feature:nodefault");
}
}
} else {