Browse Source

Remove calls to GenerateDeclarationCommon in CLI sources generation.

pull/34/merge
triton 12 years ago
parent
commit
2f4155ce56
  1. 2
      src/Generator/Generators/CLI/CLISourcesTemplate.cs

2
src/Generator/Generators/CLI/CLISourcesTemplate.cs

@ -111,7 +111,6 @@ namespace CppSharp.Generators.CLI @@ -111,7 +111,6 @@ namespace CppSharp.Generators.CLI
public void GenerateClass(Class @class)
{
PushBlock(CLIBlockKind.Class);
//GenerateDeclarationCommon(@class);
// Output a default constructor that takes the native pointer.
GenerateClassConstructor(@class, isIntPtr: false);
@ -122,7 +121,6 @@ namespace CppSharp.Generators.CLI @@ -122,7 +121,6 @@ namespace CppSharp.Generators.CLI
if (ASTUtils.CheckIgnoreMethod(method))
continue;
GenerateDeclarationCommon(method);
GenerateMethod(method, @class);
NewLine();

Loading…
Cancel
Save