diff --git a/src/Generator/Types/Std/Stdlib.cs b/src/Generator/Types/Std/Stdlib.cs index 259a2159..0787a159 100644 --- a/src/Generator/Types/Std/Stdlib.cs +++ b/src/Generator/Types/Std/Stdlib.cs @@ -1,3 +1,5 @@ +using System; + namespace Cxxi.Types.Std { [TypeMap("va_list")] @@ -26,6 +28,21 @@ namespace Cxxi.Types.Std { ctx.Return.Write("marshalString({0})", ctx.ReturnVarName); } + + public override string CSharpSignature() + { + return "string"; + } + + public override void CSharpMarshalToNative(MarshalContext ctx) + { + throw new NotImplementedException(); + } + + public override void CSharpMarshalToManaged(MarshalContext ctx) + { + throw new NotImplementedException(); + } } [TypeMap("std::wstring")]