lua-users home
lua-l archive

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

Yes, I had also observed this. But does this cause any harm?


-----Original Message-----
From: Curt Carpenter []
Sent: Thursday, October 02, 2003 10:26 AM
To: Lua list
Subject: Why do lua_open* functions leave stuff on the stack?

They all appear to leave a table on the stack. This really screwed me up
when tracking down a stack balance issue.

What's the table? Docs mention nothing about a table on the stack after
calling these.

They all seem to push the same table. luaopen_io pushes it *3* times.