[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C string as 'file' object
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Sat, 24 Mar 2012 05:57:59 -0500
On Fri, Mar 23, 2012 at 10:56 PM, ernie wrote:
> Is there an easy way to make a C string look like a read-only file object
> (file:lines(), file:read(), file:seek())? Might not be too much to
> implement from scratch, but wondering if someone's already seen this.
See:
http://luaforge.net/projects/memoryfile/
- Jeff