lua-users home
lua-l archive

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


Peter Loveday wrote:

Right, unfortunately I need to add (or replace, if I added a nil, as you
say) the values on an existing function.  I'm not within this function,
> nor do I want to call it right now.

I once wrote a function for 4.0 to do this, see lua_getcclosure() at http://lua-users.org/wiki/LuaPowerPatches. At the time Roberto said they might add it to the next version of Lua, but this feature doesn't get requested much and has fallen into the cracks.

-John



--
http:// i      .   /