string handling mods to keep gcc-4.2 happy

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-11-04 20:36:23 +00:00
commit f1169562ec
3 changed files with 41 additions and 40 deletions

View file

@ -39,7 +39,7 @@ public:
}
/* Just a simple method to call on Foo*/
char* say_hello()
const char* say_hello()
{
return "Hello";
}