diff --git a/src/Generator/Generators/CLI/CLIMarshal.cs b/src/Generator/Generators/CLI/CLIMarshal.cs index ef032f2f..6d1fb196 100644 --- a/src/Generator/Generators/CLI/CLIMarshal.cs +++ b/src/Generator/Generators/CLI/CLIMarshal.cs @@ -124,6 +124,11 @@ namespace Cxxi.Generators.CLI return template.Template.Visit(this); } + public bool VisitPrimitiveType(PrimitiveType type, TypeQualifiers quals) + { + throw new NotImplementedException(); + } + public bool VisitDeclaration(Declaration decl, TypeQualifiers quals) { throw new NotImplementedException(); @@ -383,6 +388,11 @@ namespace Cxxi.Generators.CLI return template.Template.Visit(this); } + public bool VisitPrimitiveType(PrimitiveType type, TypeQualifiers quals) + { + throw new NotImplementedException(); + } + public bool VisitDeclaration(Declaration decl, TypeQualifiers quals) { throw new NotImplementedException(); diff --git a/src/Generator/Generators/CSharp/CSharpHelpers.cs b/src/Generator/Generators/CSharp/CSharpHelpers.cs index f6da28b3..3a375c77 100644 --- a/src/Generator/Generators/CSharp/CSharpHelpers.cs +++ b/src/Generator/Generators/CSharp/CSharpHelpers.cs @@ -1,14 +1,15 @@ - -using System; +using System; using System.Collections.Generic; using System.Linq; -using System.Text; using Cxxi.Generators; +using Cxxi.Types; namespace Cxxi.Templates.CSharp { - class CSharpTypePrinter : ITypeVisitor + class CSharpTypePrinter : ITypePrinter { + public Library Library { get; set; } + public CSharpTypePrinter() { } @@ -91,11 +92,21 @@ namespace Cxxi.Templates.CSharp throw new NotImplementedException(); } + public string VisitPrimitiveType(PrimitiveType type, TypeQualifiers quals) + { + throw new NotImplementedException(); + } + public string VisitDeclaration(Declaration decl, TypeQualifiers quals) { throw new NotImplementedException(); } + public string GetArgumentsString(FunctionType function, bool hasNames) + { + throw new NotImplementedException(); + } + public string GetArgumentString(Parameter arg, bool hasName) { throw new NotImplementedException(); @@ -105,6 +116,11 @@ namespace Cxxi.Templates.CSharp //else // return Type.ToCSharp(); } + + public string ToDelegateString(FunctionType function) + { + throw new NotImplementedException(); + } } public class CSharpModule : TextTemplate