[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: An extension creating a Lua file object
- From: "steve donovan" <steve.j.donovan@...>
- Date: Wed, 11 Jul 2007 07:50:43 +0200
On 7/10/07, Ross Berteig <Ross@cheshireeng.com> wrote:
It may be easier to copy liolib.c into your project and change
the names of the userdata type LUA_FILEHANDLE and the top level
library object to avoid conflicts with the "real" io module.
Then you should be able to just modify io_popen() and io_pclose()
to make them do what you need.
I was afraid that someone was going to say that ;) It may be necessary,