std_basic_string.i fixes

- Remove python code from octave's std_basic_string.i
- Correctly return an error to fix error handling when using std::basic_string in
  overloaded methods - issue #1171.
This commit is contained in:
William S Fulton 2018-01-04 07:00:26 +00:00
commit cd9b7c3c34
6 changed files with 92 additions and 118 deletions

View file

@ -21,8 +21,7 @@ SWIG_AsPtr_dec(std::basic_string<char>)(int _iVar, std::basic_string<char> **_ps
delete[] buf;
}
return SWIG_NEWOBJ;
}
else {
} else {
if (_pstValue) {
*_pstValue = NULL;
}