I’m new to Lua. I’m in the process of embedding Lua within an application I wrote. The only question I have at the moment is when I load a library the table is left on the stack, is it okay to pop it off? All the example code I’ve seen never do this. Isn’t the stack space limited?
luaopen_base(L); /* opens the basic library */
luaopen_table(L); /* opens the table library */
luaopen_io(L); /* opens the I/O library */
luaopen_string(L); /* opens the string lib. */
luaopen_math(L); /* opens the math lib. */