lua-users home
lua-l archive

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


On Mon, Mar 7, 2011 at 6:05 PM, Patrick Donnelly <batrick@batbytes.com> wrote:
On Mon, Mar 7, 2011 at 8:32 PM, Chris Gagnon <cgagnon@zindagigames.com> wrote:
>   // lua_getfenv() is useless cause i can't get the calling function on the
> stack to use this

http://www.lua.org/manual/5.1/manual.html#lua_getinfo

--
- Patrick Donnelly


It seems bad to use the debug interface to preform production code.
Given the structure you pass for population and the string params it looks slow as well.

There isn't a better way?