|
|
|
@ -56,7 +56,7 @@ namespace CppSharp.Passes
@@ -56,7 +56,7 @@ namespace CppSharp.Passes
|
|
|
|
|
|
|
|
|
|
// Deleting destructors (default in v-table) accept an i32 bitfield as a
|
|
|
|
|
// second parameter in MS ABI.
|
|
|
|
|
if (method != null && method.IsDestructor && Context.ParserOptions.IsMicrosoftAbi) |
|
|
|
|
if (method != null && method.IsDestructor && method.IsVirtual && Context.ParserOptions.IsMicrosoftAbi) |
|
|
|
|
{ |
|
|
|
|
method.Parameters.Add(new Parameter |
|
|
|
|
{ |
|
|
|
|