forked from enlightenment/efl
elua: fix elua_register with 5.1
This commit is contained in:
parent
86ee71ce4d
commit
794ca20078
|
@ -52,7 +52,7 @@ Eina_Bool _elua_state_io_setup(const Elua_State *es);
|
|||
|
||||
#if LUA_VERSION_NUM < 502
|
||||
|
||||
#define elua_register(L, lib) luaL_register(L, NULL, 0)
|
||||
#define elua_register(L, lib) luaL_register(L, NULL, lib)
|
||||
#define elua_strlen(L, i) lua_strlen(L, i)
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue