From 3619f2315b200b4b3a8e840ddc4d06de7d198ed2 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Thu, 16 Feb 2017 02:08:09 +0000 Subject: [PATCH] Minor code formatting fixes. --- src/Generator/Generators/CSharp/CSharpSources.cs | 3 ++- src/Generator/Passes/FindSymbolsPass.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Generator/Generators/CSharp/CSharpSources.cs b/src/Generator/Generators/CSharp/CSharpSources.cs index dd04ea0e..07638140 100644 --- a/src/Generator/Generators/CSharp/CSharpSources.cs +++ b/src/Generator/Generators/CSharp/CSharpSources.cs @@ -259,7 +259,8 @@ namespace CppSharp.Generators.CSharp // Generate all the internal function declarations. foreach (var function in context.Functions) { - if ((!function.IsGenerated && !function.IsInternal) || function.IsSynthetized) continue; + if ((!function.IsGenerated && !function.IsInternal) || function.IsSynthetized) + continue; GenerateInternalFunction(function); } diff --git a/src/Generator/Passes/FindSymbolsPass.cs b/src/Generator/Passes/FindSymbolsPass.cs index 4e4f33f6..4021e813 100644 --- a/src/Generator/Passes/FindSymbolsPass.cs +++ b/src/Generator/Passes/FindSymbolsPass.cs @@ -44,6 +44,7 @@ namespace CppSharp.Passes manualResetEvent = new ManualResetEvent(false); manualResetEvent.WaitOne(); } + return base.VisitASTContext(context); }