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:
parent
64658c39ed
commit
019cbb567a
3 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue