On Fri, Nov 5, 2010 at 3:49 AM, steve donovan <steve.j.dono...@gmail.com> wrote:
> On Fri, Nov 5, 2010 at 1:18 AM, Alexander Gladysh <aglad...@gmail.com> wrote:
>> Seriously, until LJ2 supports it, Lua 5.2 is not an option for my
>> production code.
>
> Good point! I was about to suggest 'patch the interpreter' ;)

No need to patch the interpreter, this can be done by a regular C
extension... after calling lua_close the C function obviously cannot
return to the interpreter, but it is calling exit anyway. :-)

I was thinking of putting this "close and exit" function in lfs, while
Lua 5.2 does not come... I have been bitten by os.exit before.

--
Fabio Mascarenhas

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to