fix unapplied 'novaluewrapper' feature and add directive forms

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-30 23:32:51 +00:00
commit 36b16faeab

View file

@ -1272,7 +1272,7 @@ SwigType *SwigType_alttype(SwigType *t, int local_tmap) {
}
} else {
if (SwigType_issimple(td) && SwigType_istemplate(td)) {
use_wrapper = !GetFlag(n,"feature:novaluewrapper");
use_wrapper = !n || !GetFlag(n,"feature:novaluewrapper");
}
}
if (use_wrapper) {