Browse Source

Remove useless code.

pull/137/merge
triton 12 years ago
parent
commit
e835d5086a
  1. 8
      src/Generator/Generators/CLI/CLIHeadersTemplate.cs
  2. 10
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

8
src/Generator/Generators/CLI/CLIHeadersTemplate.cs

@ -607,14 +607,6 @@ namespace CppSharp.Generators.CLI @@ -607,14 +607,6 @@ namespace CppSharp.Generators.CLI
return true;
}
else if (typedef.Type.IsEnumType())
{
// Already handled in the parser.
}
else
{
Log.Debug("Unresolved typedef type: {0}", typedef);
}
return false;
}

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

@ -2285,16 +2285,6 @@ namespace CppSharp.Generators.CSharp @@ -2285,16 +2285,6 @@ namespace CppSharp.Generators.CSharp
TypePrinter.PopContext();
PopBlock(NewLineKind.BeforeNextBlock);
}
else if (typedef.Type.IsEnumType())
{
// Already handled in the parser.
return false;
}
else
{
Log.Debug("Unresolved typedef type: {0}", typedef);
return false;
}
return true;
}

Loading…
Cancel
Save