]> Dogcows Code - chaz/openbox/commitdiff
change the exception message
authorDana Jansens <danakj@orodu.net>
Mon, 10 Feb 2003 23:23:56 +0000 (23:23 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 10 Feb 2003 23:23:56 +0000 (23:23 +0000)
wrap/ustring.i

index d693e7dc1594009989f2486827283e13c2840a00..06addfe26a7d2172d8fe24a7b0cbc0174f43fde9 100644 (file)
@@ -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");
         }
     }
 
This page took 0.022488 seconds and 4 git commands to generate.