lua-users home
lua-l archive

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


>Is there a way to clone a State. 

No. Why do you want to do this?
You can use lua_newthread in 4.1 to create a new state that *shares* globals
and other stuff with a given state (but has its own execution info).
--lhf