[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Using Lua to replace C
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 25 Feb 2011 08:37:30 -0300
> That's odd, for some reason I thought it didn't look at the LUA_INIT
> variable when executing a script, only when calling "lua" on the
> command line.
LUA_INIT is a feature of the "lua" command line interpreter, not of the
Lua core. So if you embed Lua in your own C host, LUA_INIT will not be
honored, unless your C host does it explicitly.