Re: [ANN] Lua 5.2.0 (beta-rc2) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc2) now available
- From: Alexandre Erwin Ittner <alexandre@...>
- Date: 2011年6月22日 14:02:50 -0300
2011年6月22日 steve donovan <steve.j.donovan@gmail.com>:
> Previously people could hijack the existing file objects by packing
> their own FILE* in the LUA_FILEHANDLE userdata, which was just FILE**.
> (...)
Documenting this feature or creating an API for it will also ease the
binding of functions which received FILE pointers. Sometimes the most
natural solution is to pass a standard Lua file object in the Lua
version of that function -- not so easy to do without such a trick
with undocumented features. I got some of these and they will bite me
in the upgrade to Lua 5.2.
--
Alexandre Erwin Ittner - alexandre@ittner.com.br
OpenPGP pubkey 0x0041A1FB @ http://pgp.mit.edu