[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Wrapping existing FILE *s as Lua file objects
- From: "Reuben Thomas" <rrt@...>
- Date: Mon, 15 Jan 2007 00:48:35 -0000
I found one further twist: sometimes you want to hand off the FILE * to
Lua, sometimes the file is closed by C. In this case you need an extra
reference so that the GC method doesn't close the handle early.
--
http://rrt.sc3d.org/