[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Archiving lua_state to disk/memory
- From: Brian Hook <public@...>
- Date: Thu, 04 Oct 2001 12:03:20 -0700
Is there a simple way to archive an existing lua_state to disk (the
opposite of lua_dobuffer, e.g. a lua_writebuffer type of thing), or
should I just handle it myself by iterating over all the tables and
writing out the values?
I have some configuration files that are loaded and potentially
modified, and I'd like to write them out. I don't mind parsing and
writing it out myself, but if something like this already exists, I'd
like to avoid the extra work.