search for: 7461cbd

Displaying 2 results from an estimated 2 matches for "7461cbd".

2012 Nov 23
1
[PATCH] lua: fix build error due to LUA_GLOBALSINDEX usage
...NDEX is no longer available. http://www.lua.org/manual/5.2/manual.html#8.3 Signed-off-by: Olaf Hering <olaf at aepfle.de> --- Fix is only compile tested. generator/lua.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/lua.ml b/generator/lua.ml index 88748ae..7461cbd 100644 --- a/generator/lua.ml +++ b/generator/lua.ml @@ -723,7 +723,7 @@ push_int64_array (lua_State *L, const int64_t *array, size_t len) static void print_any (lua_State *L, int index, FILE *out) { - lua_getfield (L, LUA_GLOBALSINDEX, \"tostring\"); + lua_getglobal(L, \"tostri...
2012 Dec 13
3
Lua improvements
Here are a few patches I applied to get the Lua bindings to build correctly with different versions of Lua. I am not particularly happy with generating all the test scripts just for the shebang line. Since it has been a while since I had to edit autoconf/automake, this was the best I could come up with. Cheers, -Hilko