fix in typemap for std_string + value wrapper

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-17 09:17:10 +00:00
commit c53cd73333

View file

@ -33,7 +33,7 @@ namespace std {
if (!ptr) {
SWIG_croak("Undefined variable in argument $argnum of $symname.");
} else {
$1.assign(ptr, len);
$1 = std::string(ptr, len);
}
}