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 @@ -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);
}

1
src/Generator/Passes/FindSymbolsPass.cs

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

Loading…
Cancel
Save