|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
|
|
using System; |
|
|
|
|
|
|
|
|
|
|
|
namespace Cxxi.Types.Std |
|
|
|
namespace Cxxi.Types.Std |
|
|
|
{ |
|
|
|
{ |
|
|
|
[TypeMap("va_list")] |
|
|
|
[TypeMap("va_list")] |
|
|
@ -26,6 +28,21 @@ namespace Cxxi.Types.Std |
|
|
|
{ |
|
|
|
{ |
|
|
|
ctx.Return.Write("marshalString<E_UTF8>({0})", ctx.ReturnVarName); |
|
|
|
ctx.Return.Write("marshalString<E_UTF8>({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")] |
|
|
|
[TypeMap("std::wstring")] |
|
|
|