more valuewrapper cases

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-08 20:32:20 +00:00
commit b5c610922a
2 changed files with 17 additions and 3 deletions

View file

@ -359,9 +359,8 @@ SwigType *cplus_value_type(SwigType *t) {
if (((Strcmp(nodeType(n),"class") == 0)
&& !Getattr(n,"allocate:noassign")
&& (Getattr(n,"allocate:default_constructor")))
|| (Getattr(n,"feature:novaluewrapper")
&& !Getattr(n,"feature:valuewrapper"))) {
use_wrapper = 0;
|| (Getattr(n,"feature:novaluewrapper"))) {
use_wrapper = Getattr(n,"feature:valuewrapper") ? 1 : 0;
}
}
Delete(ftd);