summaryrefslogtreecommitdiff
path: root/Source/Modules/guile.cxx
diff options
context:
space:
mode:
authorHaoyu Bai <divinekid@gmail.com>2009-01-28 16:10:16 +0000
committerHaoyu Bai <divinekid@gmail.com>2009-01-28 16:10:16 +0000
commit320f2f065f4926e72232c5ae7e735e30aac97a31 (patch)
treedc5e8ff8755b586af8c672a383b477aa685581a4 /Source/Modules/guile.cxx
parentafed10e1b5a8456ec8c448072a6d165218df1057 (diff)
downloadswig-320f2f065f4926e72232c5ae7e735e30aac97a31.tar.gz
Change the return type of Char(x) from 'char *' to 'const char *'. Also corrected the const-ness of (nearly) all the variables used to store the return value of Char(x). (And propagated const-correctness for more functions and variables.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/swig-2.0@11091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules/guile.cxx')
-rw-r--r--Source/Modules/guile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/guile.cxx b/Source/Modules/guile.cxx
index 51d4accdc..4965fc7d3 100644
--- a/Source/Modules/guile.cxx
+++ b/Source/Modules/guile.cxx
@@ -1684,7 +1684,7 @@ public:
* ------------------------------------------------------------ */
virtual int validIdentifier(String *s) {
- char *c = Char(s);
+ const char *c = Char(s);
/* Check whether we have an R5RS identifier. Guile supports a
superset of R5RS identifiers, but it's probably a bad idea to use
those. */