Cleanup. Replaced Parm and ParmList data structures with new implementation.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-07-24 21:48:56 +00:00
commit e036e895d3
18 changed files with 486 additions and 724 deletions

View file

@ -52,7 +52,7 @@ DelWrapper(Wrapper *w) {
Delete(w->code);
Delete(w->def);
if (w->_type) DelDataType(w->_type);
if (w->_parms) DelParmList(w->_parms);
if (w->_parms) Delete(w->_parms);
if (w->_name) Delete(w->_name);
free(w);
}
@ -291,7 +291,7 @@ Wrapper_Getparms(Wrapper *w) {
void
Wrapper_Setparms(Wrapper *w, ParmList *l) {
if (w->_parms) DelParmList(w->_parms);
if (w->_parms) Delete(w->_parms);
w->_parms = CopyParmList(l);
}