Fixed argument mismatch error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fbb026037d
commit
89c389114f
1 changed files with 2 additions and 2 deletions
|
|
@ -1698,9 +1698,9 @@ void cplus_emit_destructor(char *classname, char *classtype, char *classrename,
|
||||||
lang->create_function(Wrapper_Getname(w),iname,Wrapper_Gettype(w), Wrapper_Getparms(w));
|
lang->create_function(Wrapper_Getname(w),iname,Wrapper_Gettype(w), Wrapper_Getparms(w));
|
||||||
} else {
|
} else {
|
||||||
if (CPlusPlus)
|
if (CPlusPlus)
|
||||||
emit_set_action(Swig_cppdestructor_call(fclassname));
|
emit_set_action(Swig_cppdestructor_call());
|
||||||
else
|
else
|
||||||
emit_set_action(Swig_cdestructor_call(fclassname));
|
emit_set_action(Swig_cdestructor_call());
|
||||||
lang->create_function(cname, iname, Wrapper_Gettype(w), Wrapper_Getparms(w));
|
lang->create_function(cname, iname, Wrapper_Gettype(w), Wrapper_Getparms(w));
|
||||||
}
|
}
|
||||||
DelWrapper(w);
|
DelWrapper(w);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue