X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=wrap%2Fustring.i;h=06addfe26a7d2172d8fe24a7b0cbc0174f43fde9;hb=a7d17188a4d98ec9a30bf980079fd12f8313d9b3;hp=d693e7dc1594009989f2486827283e13c2840a00;hpb=67fbe8354f27386235e0c8dc57bd036e34a4fe5e;p=chaz%2Fopenbox diff --git a/wrap/ustring.i b/wrap/ustring.i index d693e7dc..06addfe2 100644 --- a/wrap/ustring.i +++ b/wrap/ustring.i @@ -17,7 +17,7 @@ namespace otk { 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) { @@ -25,7 +25,7 @@ namespace otk { temp = otk::ustring(PyString_AsString($input)); $1 = &temp; } else { - SWIG_exception(SWIG_TypeError, "ustring expected"); + SWIG_exception(SWIG_TypeError, "string expected"); } }