Fixed [ 689040 ] Missing return value in std_vector.i

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-02-18 21:40:12 +00:00
commit 8d3b7440f7

View file

@ -76,6 +76,7 @@ int SwigString_AsString(Tcl_Interp *interp, Tcl_Obj *o, std::string *val) {
if(temp == NULL)
return TCL_ERROR;
*val = temp;
return TCL_OK;
}
// behaviour of this is such as the real Tcl_GetIntFromObj