[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Newbie] userdata
- From: "klay" <klay@...>
- Date: Tue, 25 Sep 2001 09:19:44 +0800
> And if you just want to push a plain pointer and don't want the
> allocation associated with user data, push it as a number (if you're
> using doubles with at least 32-bits of mantissa). Tons faster.
>
> Josh
Good idea! Thanks
klay
----- Original Message -----
From: "Joshua Jensen" <jjensen@workspacewhiz.com>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Tuesday, September 25, 2001 7:25 AM
Subject: RE: [Newbie] userdata
> And if you just want to push a plain pointer and don't want the
> allocation associated with user data, push it as a number (if you're
> using doubles with at least 32-bits of mantissa). Tons faster.
>
> Josh
>
> > -----Original Message-----
> > From: owner-lua-l@tecgraf.puc-rio.br
> > [mailto:owner-lua-l@tecgraf.puc-rio.br] On Behalf Of John Belmonte
> > Sent: Sunday, September 23, 2001 7:48 PM
> > To: Multiple recipients of list
> > Subject: Re: [Newbie] userdata
> >
> >
> > Adding to what Christian wrote: if you just want to push a
> > plain pointer and don't care about the tag, use the
> > lua_pushuserdata macro.
> >
> > -John
> >
> >
> >
>