add %delobject docs

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-19 08:53:13 +00:00
commit 2ebf4b04bc

View file

@ -546,8 +546,8 @@ void destroy_foo(Foo *foo);
</div>
<p>
which instructs SWIG that the pointer passed <tt>destroy_foo</tt> will
be destroyed and therefore, the target language should not attemp to
which instructs SWIG that the pointer passed to <tt>destroy_foo</tt> will
be destroyed, and therefore, the target language should not attemp to
deallocate it twice. This is similar to the DISOWN typemap, and in
fact, it also depends on the target language to implement the 'disown'
mechanism properly.