diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2010-04-01 18:26:37 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2010-04-01 18:26:37 +0000 |
commit | bdb136d611286df89ba94b04170259d75c51e9f8 (patch) | |
tree | 72b5af71d3bcca6555e641df2e55311b2ecc90e2 /Lib/mzscheme | |
parent | b1c594078628ca7b5e57aa63ea117e1cd281ec80 (diff) | |
download | swig-bdb136d611286df89ba94b04170259d75c51e9f8.tar.gz |
Change typemap matching rules for the default type (SWIGTYPE) to follow template partial specialization type deduction. Fixes some containers of const pointers. SWIGTYPE*& typemps removed and replaced with SWIGTYPE *const&.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/mzscheme')
-rw-r--r-- | Lib/mzscheme/typemaps.i | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/mzscheme/typemaps.i b/Lib/mzscheme/typemaps.i index b9f22440c..f12513df8 100644 --- a/Lib/mzscheme/typemaps.i +++ b/Lib/mzscheme/typemaps.i @@ -349,3 +349,10 @@ REF_MAP(double, SCHEME_REALP, scheme_real_to_double, } +/* Array reference typemaps */ +%apply SWIGTYPE & { SWIGTYPE ((&)[ANY]) } + +/* const pointers */ +%apply SWIGTYPE * { SWIGTYPE *const } + + |