From 406fabd94997aeed99d2de2ad26e00286909b56f Mon Sep 17 00:00:00 2001 From: triton Date: Sat, 25 Oct 2014 23:09:19 +0100 Subject: [PATCH] Improved support for Itanium-like ABIs. --- src/Generator/AST/VTables.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Generator/AST/VTables.cs b/src/Generator/AST/VTables.cs index d9730574..040cf740 100644 --- a/src/Generator/AST/VTables.cs +++ b/src/Generator/AST/VTables.cs @@ -12,7 +12,7 @@ namespace CppSharp.AST { case CppAbi.Microsoft: return GatherVTableMethodsMS(@class); - case CppAbi.Itanium: + default: return GatherVTableMethodsItanium(@class); } @@ -62,7 +62,7 @@ namespace CppSharp.AST return index; } break; - case CppAbi.Itanium: + default: // ignore offset to top and RTTI return @class.Layout.Layout.Components.IndexOf(entry) - 2; }