[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: loadfile callback?
- From: Tony Finch <dot@...>
- Date: Tue, 14 Jun 2011 10:26:09 +0100
Han Zhao <abrash_han@hotmail.com> wrote:
>
> When the table is big, I'd like a callback in loadfile() to
> display some progress info in the UI.
Try defining your own lua_Reader function which updates the progress each
time it passes a chunk of data to Lua.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
Faeroes: Northwest, backing southeast 5 or 6, decreasing 3 for a time.
Moderate. Showers. Good.