diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2003-06-20 21:18:26 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2003-06-20 21:18:26 +0000 |
commit | 56fecc2b0fb8ba9cba577e6f1d54f4e1928c5797 (patch) | |
tree | a0e8ad72072c097bab4c1710082f42d43a4b1975 /Lib | |
parent | 941b5d039cc1c1110685df3db33a027629bc5dc4 (diff) | |
download | swig-56fecc2b0fb8ba9cba577e6f1d54f4e1928c5797.tar.gz |
Destructor syntax for finalize method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/csharp/csharp.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/csharp/csharp.swg b/Lib/csharp/csharp.swg index 087c083cf..5a602bdb1 100644 --- a/Lib/csharp/csharp.swg +++ b/Lib/csharp/csharp.swg @@ -429,7 +429,7 @@ $1 = &temp; %} %typemap(csptrconstructormodifiers) SWIGTYPE, SWIGTYPE *, SWIGTYPE &, SWIGTYPE [], SWIGTYPE (CLASS::*) "internal" %typemap(csfinalize) SWIGTYPE %{ - protected override void Finalize() { + ~$csclassname() { Dispose(); } %} |