lua-users home
lua-l archive

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


On Friday 28 February 2003 18:58, you wrote:
> I'm not sure if this is supposed to happen, but the behavior isn't
> documented. So...
>
> Using Lua 5.0-beta, when I call lua_mathlibopen(), or any other function
> that opens a Lua library, after the function returns, a value of type table
> is left on the Lua->C stack. I have a couple of questions regarding this...
>
> 1) Is this supposed to happen?
> 2) If so, why does it happen? What is the use of this table on the stack,
> and am I supposed to do something with it?
>
> Nick

This is a known bug in 5.0-beta  
http://lua-users.org/lists/lua-l/2002-12/msg00144.html

another is  http://lua-users.org/lists/lua-l/2002-12/msg00156.html

- Peter Shook