lua-users home
lua-l archive

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


>From lua-l@tecgraf.puc-rio.br  Thu Jul 13 23:01:30 2000
>From: Falko Poiker <fpoiker@relic.com>
>
>Presumably, tag methods that I set in one state won't be set in a new state,
>right?  
>If not, is there a "lua_copystate" function so that I can copy all the tag
>methods I've set, types I've created and functions I've registered to a
>newly created state?

Multiple states are completely independent and the only way to copy stuff
from one state to another is via C, manually. Sorry, but we can't see a
clean solution to this.
--lhf