webmcp
diff libraries/mondelefant/mondelefant_native.c @ 545:80c16991a770
Added missing lua_settop(L, 6) in previous commit
author | jbe |
---|---|
date | Sat Oct 19 20:09:41 2019 +0200 (2019-10-19) |
parents | a93ba2a3858a |
children | d5bad374641e |
line diff
1.1 --- a/libraries/mondelefant/mondelefant_native.c Sat Oct 19 19:45:45 2019 +0200 1.2 +++ b/libraries/mondelefant/mondelefant_native.c Sat Oct 19 20:09:41 2019 +0200 1.3 @@ -1796,6 +1796,7 @@ 1.4 return 0; 1.5 } 1.6 } 1.7 + lua_settop(L, 6); 1.8 // store object in _ref table (use false for nil): // TODO: use special object instead of false 1.9 lua_getfield(L, 1, "_ref"); // 7 1.10 lua_pushvalue(L, 2); // 8