summaryrefslogtreecommitdiff
path: root/Examples/test-suite/destructor_methodmodifiers.i
Commit message (Collapse)AuthorAgeFilesLines
* C#, D, Java methodmodifiers on destructorsWilliam S Fulton2018-05-111-0/+61
Add support so that the %csmethodmodifiers, %dmethodmodifiers, %javamethodmodifiers can modify the method modifiers for the destructor wrappers in the proxy class: dispose, Dispose, delete. With this feature, it is now possible to make a C# proxy class sealed, eg when wrapping a class X, the virtual method modifiers can be removed using: %typemap(csclassmodifiers) X "public sealed class" %csmethodmodifiers X::~X "public /*virtual*/";