Commit 23c30b99 authored by Marek Vavruša's avatar Marek Vavruša

daemon/bindings: Lua 5.2 compat (lua_objlen)

parent f7c7b94b
......@@ -21,6 +21,7 @@
/** @internal Compatibility wrapper for Lua 5.0 - 5.2 */
#if LUA_VERSION_NUM < 502
#define lua_len lua_objlen
#define register_lib(L, name, lib) \
luaL_openlib((L), (name), (lib), 0)
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment