Reapply the valid half of my previous patch (which fixes the case I

just added to the testsuite and doesn't break anything else).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-10-12 00:04:41 +00:00
commit ba768a2ecc

View file

@ -99,7 +99,7 @@ class string;
static std::string $1_str($input);
$1 = &$1_str; %}
%typemap(directorin) const string & %{ $input = SWIG_csharp_string_callback($1->c_str()); %}
%typemap(directorin) const string & %{ $input = SWIG_csharp_string_callback($1.c_str()); %}
%typemap(csvarin, excode=SWIGEXCODE2) const string & %{
set {