[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: void* in Lua_State for Application?
- From: William Ahern <william@...>
- Date: Wed, 4 Sep 2013 20:44:32 -0700
On Wed, Sep 04, 2013 at 11:33:37PM -0400, Tom N Harris wrote:
> On Monday, September 02, 2013 03:14:08 PM Emil Renner Berthing wrote:
> > +LUA_API void (lua_setstatedata) (lua_State *L, void *sd);
> > +LUA_API void *(lua_getstatedata) (lua_State *L);
> What's the problem with storing a lightuserdata in the registry?
The OP was worried that it was too slow.