[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Modifying a Closure in 5.0 Alpha
- From: John Belmonte <jvb@...>
- Date: Fri, 23 Aug 2002 10:58:16 +0900
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.
http:// i . /