projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ffa958
)
change the exception message
author
Dana Jansens
<danakj@orodu.net>
Mon, 10 Feb 2003 23:23:56 +0000
(23:23 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 10 Feb 2003 23:23:56 +0000
(23:23 +0000)
wrap/ustring.i
patch
|
blob
|
history
diff --git
a/wrap/ustring.i
b/wrap/ustring.i
index d693e7dc1594009989f2486827283e13c2840a00..06addfe26a7d2172d8fe24a7b0cbc0174f43fde9 100644
(file)
--- 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, "
u
string 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, "
u
string expected");
+ SWIG_exception(SWIG_TypeError, "string expected");
}
}