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:
parent
715e3e39eb
commit
e036e895d3
18 changed files with 486 additions and 724 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue