[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: setfenv/getfenv
- From: Renato Maia <maia@...>
- Date: Tue, 12 Jan 2010 17:06:59 -0200
On 12 Jan 2010, at 15:44, Roberto Ierusalimschy wrote:
'loadin' is like 'load'; it accepts a reader function as argument. So
there is no need to have the code as string at all.
I must be missing something obvious, but won't the reader function
still have to create Lua strings with the chunk pieces? Wouldn't a C
function using 'lua_load' avoid the creation of such strings?