[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Best practices for lua_Reader?
- From: Oliver Schneider <lua-mailinglist@...>
- Date: Sat, 09 Jun 2012 23:59:28 +0000
On 2012-06-09 23:46, Luiz Henrique de Figueiredo wrote:
> So why not just use luaL_loadbuffer?
Good question, is the effect the same when I want to preload?
> Read lauxlib.c and my own ae:
> http://www.lua.org/source/5.2/lauxlib.c.html (at Load functions)
> http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#ae
Thanks, started reading the lauxlib.c after Peter's response. Looking
into ae now.
Btw: the sentence in my previous email should have been:
> I'm trying to use the reader for the preload mechanism in Lua, not
> just load a chunk for a call.
// Oliver