aboutsummaryrefslogtreecommitdiff
path: root/Lib/exception.i
diff options
context:
space:
mode:
authorGeert Janssens <janssens-geert@telenet.be>2013-04-19 18:57:31 +0200
committerGeert Janssens <janssens-geert@telenet.be>2013-04-28 22:06:24 +0200
commitd689d9a860c4565db2e87ffd28e9fbe5bc7e848f (patch)
tree646717c72b895a58d6e2cbbb2c94efd7c527994b /Lib/exception.i
parentb819d2a91e951508cf84dc2d78fc7d57391c9dca (diff)
downloadswig-d689d9a860c4565db2e87ffd28e9fbe5bc7e848f.tar.gz
Fix deprecation warnings for test suite under guile 2.0
Diffstat (limited to 'Lib/exception.i')
-rw-r--r--Lib/exception.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/exception.i b/Lib/exception.i
index 867ecdbff..050042dab 100644
--- a/Lib/exception.i
+++ b/Lib/exception.i
@@ -24,7 +24,7 @@
SWIGINTERN void SWIG_exception_ (int code, const char *msg,
const char *subr) {
#define ERROR(scmerr) \
- scm_error(scm_str2symbol((char *) (scmerr)), \
+ scm_error(scm_from_locale_string((char *) (scmerr)), \
(char *) subr, (char *) msg, \
SCM_EOL, SCM_BOOL_F)
#define MAP(swigerr, scmerr) \