diff options
Diffstat (limited to 'Lib/csharp/wchar.i')
-rw-r--r-- | Lib/csharp/wchar.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/csharp/wchar.i b/Lib/csharp/wchar.i index 798194114..1ece767da 100644 --- a/Lib/csharp/wchar.i +++ b/Lib/csharp/wchar.i @@ -92,7 +92,7 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterWStringCallback_$module(SWIG_CSharpWStri } %} %typemap(csvarout, excode=SWIGEXCODE2) wchar_t * %{ get { - string ret = $imcall;$excode + string ret = global::System.Runtime.InteropServices.Marshal.PtrToStringUni($imcall);$excode return ret; } %} |