Saving and loading the lua state

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Saving and loading the lua state

Luc Van den Borre
Hello all,

I need to save and load the lua state to and from disk. Any bright ideas
on how to go about this ? I'm using the lua_newstate C function from the
documentation to get a copy of the state, and I which to save this to
disk.

All help appreciated,

--Luc