Browse Source

Minor code formatting fixes.

pull/818/head
Joao Matos 9 years ago
parent
commit
3619f2315b
  1. 3
      src/Generator/Generators/CSharp/CSharpSources.cs
  2. 1
      src/Generator/Passes/FindSymbolsPass.cs

3
src/Generator/Generators/CSharp/CSharpSources.cs

@ -259,7 +259,8 @@ namespace CppSharp.Generators.CSharp
// Generate all the internal function declarations. // Generate all the internal function declarations.
foreach (var function in context.Functions) foreach (var function in context.Functions)
{ {
if ((!function.IsGenerated && !function.IsInternal) || function.IsSynthetized) continue; if ((!function.IsGenerated && !function.IsInternal) || function.IsSynthetized)
continue;
GenerateInternalFunction(function); GenerateInternalFunction(function);
} }

1
src/Generator/Passes/FindSymbolsPass.cs

@ -44,6 +44,7 @@ namespace CppSharp.Passes
manualResetEvent = new ManualResetEvent(false); manualResetEvent = new ManualResetEvent(false);
manualResetEvent.WaitOne(); manualResetEvent.WaitOne();
} }
return base.VisitASTContext(context); return base.VisitASTContext(context);
} }

Loading…
Cancel
Save