[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_Reader, how to make one
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Wed, 23 Jan 2008 20:37:05 -0800
> In this context a block is just a sequence of bytes. The reader can
> "stream" data by breaking it up into multiple blocks, or just return a
> single block for all of the data.
>
> I don't think you should need to switch to using lua_load to improve your
> error messages. What exactly are you trying to do?
Actually, you're right. I don't need to use lua_Reader. Thanks for
clearing up what block means. I'm just trying to get the same reports
back that luac gives, which luaL_dofile seems to be doing.
thanks,
wes