[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: error loading chunk
- From: "Victor Bombi" <sonoro@...>
- Date: Mon, 12 May 2014 22:27:51 +0200
Yes, I checked that there are zeroes embedded.
Thank you for showing me luaL_loadbuffer.
victor
----- Original Message -----
From: "Kevin Martin" <kev82@khn.org.uk>
To: "Lua mailing list" <lua-l@lists.lua.org>
Sent: Monday, May 12, 2014 9:19 PM
Subject: Re: error loading chunk
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
---
Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa.
http://www.avast.com