lua-users home
lua-l archive

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

On Wed, 3 Oct 2001, Curt Carpenter wrote:

> >How about upvalues (ie C closures)? There's also the registry, where
> you can store anything you want. --lhf
> Upvalues won't work. I need a solution that applies to all functions
> that could be called by Lua, including tag methods and call/line hooks.
> Two people suggesting using the registry??? You guys scare me! :-) If I
> were going to do that, I'd rather create a global variable in the lua
> state and use that. 

Err...Lua's registry is pretty fast, you aren't thinking of the Windows
registry, are you?

  - Tom