lua-users home
lua-l archive

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


On Mon, Aug 12, 2013 at 10:57 AM, Philipp Janda <siffiejoe@gmx.net> wrote:
> No need for the C API if you have the debug module available:
>
>     > print( debug.getregistry()["FILE*"], debug.getmetatable( io.stdin ) )
>     table: 0x7446d0     table: 0x7446d0

Hmm... that seems like a useful hack, until I want to do it the "right" way...

-- Andrew