lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



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?

--
Renato Maia
Computer Scientist
Tecgraf/PUC-Rio
__________________________
http://www.inf.puc-rio.br/~maia/