summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 & };