Destructor syntax for finalize method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
941b5d039c
commit
56fecc2b0f
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ $1 = &temp; %}
|
|||
%typemap(csptrconstructormodifiers) SWIGTYPE, SWIGTYPE *, SWIGTYPE &, SWIGTYPE [], SWIGTYPE (CLASS::*) "internal"
|
||||
|
||||
%typemap(csfinalize) SWIGTYPE %{
|
||||
protected override void Finalize() {
|
||||
~$csclassname() {
|
||||
Dispose();
|
||||
}
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue