Changes to support memberin typemap

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-09-03 19:14:55 +00:00
commit 77a76ff4ce
6 changed files with 58 additions and 36 deletions

View file

@ -294,7 +294,7 @@ Wrapper_Gettype(Wrapper *w) {
void
Wrapper_Settype(Wrapper *w, SwigType *t) {
Delete(w->_type);
w->_type = Copy(t);
w->_type = NewString(t);
}
/* -----------------------------------------------------------------------------