I found in the lua sample code these calls:
luaopen_table(L);
luaopen_io(L);
luaopen_string(L);
luaopen_math(L);
I searched in lua header files and I found other functions with luaopen:
LUALIB_API int (luaopen_base) (lua_State *L);
LUALIB_API int (luaopen_table) (lua_State *L);
LUALIB_API int (luaopen_io) (lua_State *L);
LUALIB_API int (luaopen_os) (lua_State *L);
LUALIB_API int (luaopen_string) (lua_State *L);
LUALIB_API int (luaopen_math) (lua_State *L);
LUALIB_API int (luaopen_debug) (lua_State *L);
LUALIB_API int (luaopen_package) (lua_State *L);
Can you please explain what these functions mean? For example, may I use tables if I don't call luaopen_table? I didn't find any documentation about this!