if (PyString_Check($input))
$1 = otk::ustring(PyString_AsString($input));
else
- SWIG_exception(SWIG_TypeError, "ustring expected");
+ SWIG_exception(SWIG_TypeError, "string expected");
}
%typemap(in) const ustring & (otk::ustring temp) {
temp = otk::ustring(PyString_AsString($input));
$1 = &temp;
} else {
- SWIG_exception(SWIG_TypeError, "ustring expected");
+ SWIG_exception(SWIG_TypeError, "string expected");
}
}