[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Keeping scripts in memory
- From: Tuomo Valkonen <tuomov@...>
- Date: Sat, 5 Jul 2003 20:39:40 +0300
On Sun, Jul 06, 2003 at 01:04:19AM +0800, anderson wrote:
> I know I can use lua_dostring to execute strings I have in memory, but I'd
> also like to use the lua complied codes instead.
In 5.0, luaL_loadstring/file will compile a function of the file/string
that you can call. (Unfortunately parameters can not be passed to it
without kludges.)
--
Tuomo