[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: light userdata (Was: Fastest way to transfer data from C to Lua ?)
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 10 Jun 2013 11:01:40 +0200
2013/6/10 Coda Highland <chighland@gmail.com>:
> Even without LuaJIT I use lightuserdata fairly frequently as an opaque
> handle type when Lua is accessing -- but not OWNING -- a C-side data
> structure. The C-side code is responsible for informing the Lua-side
> code when the object has been destroyed.
Actually I have used it. Once. But normally I can't do without
a metatable. Life without __tostring is just unbearable.
- References:
- Re: Fastest way to transfer data from C to Lua ?, David Heiko Kolf
- RE: Fastest way to transfer data from C to Lua ?, Geoff Smith
- Re: Fastest way to transfer data from C to Lua ?, Sean Conner
- Re: Fastest way to transfer data from C to Lua ?, Jorge
- RE: Fastest way to transfer data from C to Lua ?, Geoff Smith
- Re: Fastest way to transfer data from C to Lua ?, Tim Hill
- light userdata (Was: Fastest way to transfer data from C to Lua ?), David Heiko Kolf
- Re: light userdata (Was: Fastest way to transfer data from C to Lua ?), Dirk Laurie
- Re: light userdata (Was: Fastest way to transfer data from C to Lua ?), Wesley Smith
- Re: light userdata (Was: Fastest way to transfer data from C to Lua ?), Coda Highland