Skip to content
Snippets Groups Projects
Commit 23c30b99 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

daemon/bindings: Lua 5.2 compat (lua_objlen)

parent f7c7b94b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment