diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-10 23:23:56 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-10 23:23:56 +0000 |
| commit | 9676a6774ba097eb5bbdee8c95260762f6741bcc (patch) | |
| tree | 23f5d37a15306b6ef0ae9f001f0d613982e7182b /wrap | |
| parent | 4ffa9585a5c6a1c3572a9b1d3a914ed5fbde855d (diff) | |
change the exception message
Diffstat (limited to 'wrap')
| -rw-r--r-- | wrap/ustring.i | 4 |
1 files changed, 2 insertions, 2 deletions
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"); } } |
