|
|
|
@ -12,7 +12,7 @@ namespace CppSharp.AST |
|
|
|
{ |
|
|
|
{ |
|
|
|
case CppAbi.Microsoft: |
|
|
|
case CppAbi.Microsoft: |
|
|
|
return GatherVTableMethodsMS(@class); |
|
|
|
return GatherVTableMethodsMS(@class); |
|
|
|
case CppAbi.Itanium: |
|
|
|
default: |
|
|
|
return GatherVTableMethodsItanium(@class); |
|
|
|
return GatherVTableMethodsItanium(@class); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@ namespace CppSharp.AST |
|
|
|
return index; |
|
|
|
return index; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case CppAbi.Itanium: |
|
|
|
default: |
|
|
|
// ignore offset to top and RTTI
|
|
|
|
// ignore offset to top and RTTI
|
|
|
|
return @class.Layout.Layout.Components.IndexOf(entry) - 2; |
|
|
|
return @class.Layout.Layout.Components.IndexOf(entry) - 2; |
|
|
|
} |
|
|
|
} |
|
|
|
|