From cd9eeb9f17d4ebc9bd59074870acef0203f4ba13 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Sat, 4 Feb 2023 10:18:32 +0000 Subject: [PATCH] Run GetterSetterToPropertyPass for more generators. --- src/Generator/Driver.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Generator/Driver.cs b/src/Generator/Driver.cs index cd53c631..e5b8cd2c 100644 --- a/src/Generator/Driver.cs +++ b/src/Generator/Driver.cs @@ -282,6 +282,10 @@ namespace CppSharp if (Options.IsCLIGenerator || Options.IsCSharpGenerator) { TranslationUnitPasses.AddPass(new DelegatesPass()); + } + + if (Options.GeneratorKind != GeneratorKind.C) + { TranslationUnitPasses.AddPass(new GetterSetterToPropertyPass()); }