Permalink
Browse files

Restore Lua C++11 rvalue reference

  • Loading branch information...
1 parent e208f85 commit 58caa386167a8817a9d158be9fd51b6c214ab26d @wsfulton wsfulton committed Feb 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lib/lua/lua.swg
View
@@ -41,7 +41,7 @@
%typemap(consttab) long long, unsigned long long
{SWIG_LUA_CONSTTAB_STRING("$symname", "$value")}
-%typemap(consttab) SWIGTYPE *, SWIGTYPE *const, SWIGTYPE &, SWIGTYPE []
+%typemap(consttab) SWIGTYPE *, SWIGTYPE *const, SWIGTYPE &, SWIGTYPE &&, SWIGTYPE []
{ SWIG_LUA_CONSTTAB_POINTER("$symname",$value, $1_descriptor) }
// member function pointers

0 comments on commit 58caa38

Please sign in to comment.