|
Can someone explain to me how one saves/restores the state of Lua Globals from within a C program (not via Lua script)? Assume I have one Lua VM executing and I wish to save the global state, execute a script then restore the state of globals to what was prior to the script execution.