summaryrefslogtreecommitdiff
path: root/Lib/mzscheme
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2012-05-26 06:33:49 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2012-05-26 06:33:49 +0000
commit12a9671440e9408a07d59a8936e75da096fea5fc (patch)
treea22151e261e62ee2aceb6b0f034ba7a424ef4b25 /Lib/mzscheme
parent49b6c39d98967c5bad997bf1490deab0161b18a5 (diff)
downloadswig-12a9671440e9408a07d59a8936e75da096fea5fc.tar.gz
std::string typemap modifications so they can be used with %apply for other string classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/mzscheme')
-rw-r--r--Lib/mzscheme/std_string.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mzscheme/std_string.i b/Lib/mzscheme/std_string.i
index b8b99d9ad..b19e8567a 100644
--- a/Lib/mzscheme/std_string.i
+++ b/Lib/mzscheme/std_string.i
@@ -35,7 +35,7 @@ namespace std {
SWIG_exception(SWIG_TypeError, "string expected");
}
- %typemap(in) const string & (std::string temp) {
+ %typemap(in) const string & ($*1_ltype temp) {
if (SCHEME_STRINGP($input)) {
temp.assign(SCHEME_STR_VAL($input));
$1 = &temp;