lua-users home
lua-l archive

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

Quoth Shawn Fox <>, on 2010-11-07 09:48:23 -0600:
> Rather than using upvalues, I store the metatable in the registry.

Careful where you store that ref.  If you're using process-global space,
you've just broken loading your library into multiple Lua states in the
same process.

   ---> Drake Wilson