lua-users home
lua-l archive

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


> lua_dump simply dumps a Lua function in binary format as luac does. It
does
> not saves the whole Lua state. As for you concern with registered C
functions,
> Lua binds names at runtime. But yes, if you save your "state" and later
> (in another run of your program) loads and runs it, you'll need to have to
> reregister C functions

Ok, that clears things up a lot. I was messed up because I thought lua_dump
saved the whole state. Thank you very much.