lua-users home
lua-l archive

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


Hi all.  

I need to store a pointer to the C++ object that is managing a
script/thread/state.  I'm a bit confused over what best practice is for
this.  I was originally storing it in the GLOBALS table, but the docs imply
a better place for it is in the REGISTRY table.  Is this just to avoid
polluting the GLOBALS, or is there some other mechanism I should be aware of
here?

Thanks a bunch.