From 7cc8b8bad710b57310e2dde45e39a718d8d0acf6 Mon Sep 17 00:00:00 2001 From: triton Date: Fri, 18 Jan 2013 16:55:30 +0000 Subject: [PATCH] Removed some dead legacy code that is left from the C# module. --- src/Generator/Generators/CLI/CLIHeadersTemplate.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Generator/Generators/CLI/CLIHeadersTemplate.cs b/src/Generator/Generators/CLI/CLIHeadersTemplate.cs index 7ab31338..f5d6b4ee 100644 --- a/src/Generator/Generators/CLI/CLIHeadersTemplate.cs +++ b/src/Generator/Generators/CLI/CLIHeadersTemplate.cs @@ -299,17 +299,8 @@ namespace Cxxi.Generators.CLI GenerateDeclarationCommon(typedef); - FunctionType func; - TagType tag; - - //if (T.Type.IsPointerToPrimitiveType(PrimitiveType.Void) - // || T.Type.IsPointerTo(out tag)) - //{ - // WriteLine("public class " + SafeIdentifier(T.Name) + @" { }"); - // NewLine(); - //} - //else - if (typedef.Type.IsPointerTo(out func)) + FunctionType function; + if (typedef.Type.IsPointerTo(out function)) { WriteLine("public {0};", string.Format(TypeSig.ToDelegateString(function),