Fix C# wchar_t* csvarout to be same as csout
This commit is contained in:
parent
975f8fcfdb
commit
beb1d8498d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
} %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue