lua-users home
lua-l archive

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


Hi,

We are using Lua in one of our apps.  I noticed today that luaL_openlib always leaves a table on the stack.  My question is why?  What should I do about this?  It is causing major problems for us because the tables are never removed from the stack.  I tried searching the list archives but could not find any relevant solutions to this.  Should I just call lua_pop(L,1) after every call to luaL_openlib?  This is a time pressure issue for me and any feedback would be VERY much appreciated.

- Brett