summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2008-04-07 21:06:23 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2008-04-07 21:06:23 +0000
commit6054159ecfb66ecdafa26b39c083d1867cbab268 (patch)
tree8369cdf748ae8d7f7bc0e93c88164442c42fb774
parent929f68b06931342c980155e8c56683732d370e5f (diff)
downloadswig-rel-1.3.35.tar.gz
Add array reference typemaps which are needed since the pointer reference typemaps were committed in the last checkinv1.3.35rel-1.3.35
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Lib/lua/luatypemaps.swg3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/lua/luatypemaps.swg b/Lib/lua/luatypemaps.swg
index 60955fc86..f1ece2007 100644
--- a/Lib/lua/luatypemaps.swg
+++ b/Lib/lua/luatypemaps.swg
@@ -343,6 +343,9 @@ parmeters match which function
* Others
* ----------------------------------------------------------------------------- */
+// Array reference typemaps
+%apply SWIGTYPE & { SWIGTYPE ((&)[ANY]) }
+
// size_t (which is just a unsigned long)
%apply unsigned long { size_t };
%apply const unsigned long & { const size_t & };