Browse Source

Process classes as declaration contexts too making sure we generate nested declarations like typedefs, enums and classes.

pull/1/head
triton 13 years ago
parent
commit
6c2e73372e
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

2
src/Generator/Generators/CSharp/CSharpTextTemplate.cs

@ -258,6 +258,8 @@ namespace CppSharp.Generators.CSharp @@ -258,6 +258,8 @@ namespace CppSharp.Generators.CSharp
{
GenerateClassInternals(@class);
GenerateDeclContext(@class);
if (ShouldGenerateClassNativeField(@class))
{
NewLineIfNeeded();

Loading…
Cancel
Save