lua-users home
lua-l archive

cloning lua state

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


Hello,
I have encapsulate the lua_state in a C++ class and I can run my Lua scripts well, but I would like to create a Copy-Ctor which creates a fill in depended clone of the current lua_state.
How can I clone the current lua_state with a full deep-copy? Does there exists a C API function, how can I do this?
Thanks a lot
Phil

AltStyle によって変換されたページ (->オリジナル) /