lua: fix meta table for the module
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
bbb4f9ff69
commit
14685a2680
1 changed files with 1 additions and 0 deletions
|
@ -948,6 +948,7 @@ static const luaL_Reg R_common[] = {
|
||||||
|
|
||||||
|
|
||||||
LUALIB_API int luaopen_iwinfo(lua_State *L) {
|
LUALIB_API int luaopen_iwinfo(lua_State *L) {
|
||||||
|
luaL_newmetatable(L, IWINFO_META);
|
||||||
luaL_setfuncs(L, R_common, 0);
|
luaL_setfuncs(L, R_common, 0);
|
||||||
|
|
||||||
#ifdef USE_WL
|
#ifdef USE_WL
|
||||||
|
|
Loading…
Reference in a new issue