Typemap fix for methods that return char *. The CLR would incorrectly

delete the memory pointed to by char *.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-08-27 21:49:38 +00:00
commit dc2bf27dc0

View file

@ -127,7 +127,7 @@
/* char * - treat as String */
%typemap(in) char * %{ $1 = $input; %}
%typemap(out) char * %{ $result = $1; %}
%typemap(out) char * %{ $result = SWIG_csharp_string_callback($1); %}
%typemap(out) void ""