[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: error loading chunk
- From: Kevin Martin <kev82@...>
- Date: Mon, 12 May 2014 20:19:11 +0100
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