[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: [Newbie] userdata
- From: "Joshua Jensen" <jjensen@...>
- Date: Mon, 24 Sep 2001 17:25:08 -0600
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.
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] 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.