lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I used this page for inspiration and tried something OOP-like in C
calling Lua environment. While it basically works (in some simple
scenario), there is a question - compiling this with Lua 5.2 gives

test-lua.c:135:2: warning: implicit declaration of function 'luaL_openlib' is invalid in C99 [-Wimplicit-function-declaration]

and I can't find luaL_openlib function in Lua 5.2 Reference manual. How
did this happen?