more fixes for DISOWN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7af6ee8267
commit
651046b927
2 changed files with 12 additions and 13 deletions
|
|
@ -1380,7 +1380,7 @@ public:
|
|||
tab4, "my $self = tied(%{$_[0]});\n",
|
||||
tab4, "return unless defined $self;\n",
|
||||
tab4, "delete $ITERATORS{$self};\n",
|
||||
tab4, "if ((exists $OWNER{$self}) and ($OWNER{$self} == 1)) {\n",
|
||||
tab4, "if (exists $OWNER{$self}) {\n",
|
||||
tab8, cmodule, "::", Swig_name_destroy(symname), "($self);\n",
|
||||
tab8, "delete $OWNER{$self};\n",
|
||||
tab4, "}\n}\n\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue