[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: What is the replacement code in Lua 5.1 for lua_boxpointer?
- From: "Vijay Aswadhati" <wyseman@...>
- Date: Tue, 23 Aug 2005 22:23:25 -0700
Ok. I found it in Lua 5.0 as:
<C code>
#define lua_boxpointer(L,u) \
(*(void **)(lua_newuserdata(L, sizeof(void *))) = (u))
#define lua_unboxpointer(L,i) (*(void **)(lua_touserdata(L, i)))
</C code>
Is there a reason why these macros are missing in 5.1(work6) ?
> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-
> bounces@bazar2.conectiva.com.br] On Behalf Of Vijay Aswadhati
> Sent: Tuesday, August 23, 2005 10:04 PM
> To: 'Lua list'
> Subject: What is the replacement code in Lua 5.1 for lua_boxpointer?
>
> I looked through the archives and there is too much noise.
>
> --v.a
>