lua-users home
lua-l archive

Re: LuaJIT FFI file/directory iterator help needed

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


I knocked up the following code, which has a similar interface to your
original code: http://pastebin.com/chftGw7w
On Mon, Jun 6, 2011 at 2:47 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
> 2011年6月6日 Attila <ejjeliorjarat@gmail.com>:
>> mechanism, I used alien to iterate through a directory's files (I don't like
>> os.execute with DIR/LS command, because it flashes the shell, and that's an
>> ugly solution I think).
>
> Why not just use LuaFileSystem?  There _might_ be case where it's too
> slow for the job, but you would have to push the file system hard to
> find that case ;)
>
> steve d.
>
>

AltStyle によって変換されたページ (->オリジナル) /