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:
parent
b451d4039a
commit
c53cd73333
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ namespace std {
|
||||||
if (!ptr) {
|
if (!ptr) {
|
||||||
SWIG_croak("Undefined variable in argument $argnum of $symname.");
|
SWIG_croak("Undefined variable in argument $argnum of $symname.");
|
||||||
} else {
|
} else {
|
||||||
$1.assign(ptr, len);
|
$1 = std::string(ptr, len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue