elua: fix elua_register with 5.1

This commit is contained in:
Daniel Kolesa 2020-07-31 18:37:03 +02:00
parent 86ee71ce4d
commit 794ca20078
1 changed files with 1 additions and 1 deletions

View File

@ -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