[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_dump in luajit2
- From: Duncan Cross <duncan.cross@...>
- Date: Thu, 2 Dec 2010 02:22:48 +0000
On Thu, Dec 2, 2010 at 1:44 AM, zhiguo zhao <zhaozg@gmail.com> wrote:
> I Look at http://lua-users.org/lists/lua-l/2010-03/msg00064.html,
> maybe now lj2 not support lua_dump.
> finally. I look lj_api.c, found this.
> ----------------------------------------------------------------------------
> LUA_API int lua_dump(lua_State *L, lua_Writer writer, void *data)
> {
> api_checknelems(L, 1);
> UNUSED(L); UNUSED(writer); UNUSED(data);
> return 1; /* Error, not supported. */
> }
> ---------------------------------------------------------------------------
> So, before lj2 support lua_dump, I will use lua 5.2
That's fine with me.
-Duncan
(To be more serious: Mike has already explained his position in the
post you link to, the ability to dump and load bytecode is not a
feature that is highly prioritised and that isn't expected to change
without good reason. So... what is there to talk about?)