lua-users home
lua-l archive

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


On 12 May 2014, at 19:40, Victor Bombi <sonoro@telefonica.net> wrote:

> 
> the result is
> testgenerator.lua:42: error loading chunk: binary string: unexpected end in
> precompiled chunk

Best guess it that the compiled chunk has embedded zeroes, and luaL_loadstring, stops reading on the first zero found. You may want to look at luaL_loadbuffer instead.

Thanks,
Kev