diff --git a/src/Generator/Types/TypeMap.cs b/src/Generator/Types/TypeMap.cs index 89d1bffc..1821e26d 100644 --- a/src/Generator/Types/TypeMap.cs +++ b/src/Generator/Types/TypeMap.cs @@ -28,7 +28,7 @@ namespace Cxxi.Types /// freedom and customization when translating between the source and /// target language types. /// - public abstract class TypeMap + public class TypeMap { public Type Type { get; set; } public Declaration Declaration { get; set; } @@ -38,9 +38,20 @@ namespace Cxxi.Types get { return false; } } - public abstract string Signature(); - public abstract string MarshalToNative(MarshalContext ctx); - public abstract string MarshalFromNative(MarshalContext ctx); + public virtual string Signature() + { + throw new NotImplementedException(); + } + + public virtual string MarshalToNative(MarshalContext ctx) + { + throw new NotImplementedException(); + } + + public virtual string MarshalFromNative(MarshalContext ctx) + { + throw new NotImplementedException(); + } } public class TypeDatabase